wpsnoop Fatal error: Cannot redeclare my_custom_dashboard_widgets()

If you are dealing with a WordPress issue where a PHP Function my_custom_dashboard_widgets() was already declared it is most likely due to a plugin/theme conflict.

wpsnoop scanned and analyzed over 100,000 WordPress plugins and themes to find and locate potential conflicts including functions that share the same name.

This page has information on the 11 places where that function is declared and used in WordPress plugins and themes.

Note: Our database currently only taps into the free themes and plugins available in the publicly available WordPress plugins and themes, if your site uses paid plugins, themes or custom code there may be additional conflicts.


Our database has uncovered 11 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/plugins/parsi-text-ads/ads-expiration.php:153)

This file is part of the WordPress plugin PARSI TEXT ADS and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/plugins/wp-helper-master/wp-helper-master.php:160)

This file is part of the WordPress plugin WordPress Helper Master and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/plugins/my-developed-plugins/my-developed-plugins.php:220)

This file is part of the WordPress plugin My developed plugins and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/plugins/mycontactadmin/MyContactAdmin.php:46)

This file is part of the WordPress plugin MyContactAdmin and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/plugins/climate-dashboard/climate-dashboard.php:127)

This file is part of the WordPress plugin Climate Dashboard and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/plugins/future-dashboard-widget/futurewidget.php:76)

This file is part of the WordPress plugin Future Dashboard Widget and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/plugins/search-console/search-console.php:95)

This file is part of the WordPress plugin Search Console and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/plugins/simplifieswp/functions/apply_dashboard_widgets.php:34)

This file is part of the WordPress plugin SimplifiesWP and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/plugins/readme-detonator/index.php:48)

This file is part of the WordPress plugin Readme Detonator and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/themes/langitbiru/functions.php:202)

This file is part of the WordPress theme LangitBiru and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_custom_dashboard_widgets() (previously declared in wp-content/themes/mataram/functions.php:237)

This file is part of the WordPress theme Mataram and could be interacting with another theme or plugin and causing a fatal error.

The error occurs because two (or more) plugins that you are using are both trying to declare a function with the same name.