wpsnoop Fatal error: Cannot redeclare myplugin_register_widgets()

If you are dealing with a WordPress issue where a PHP Function myplugin_register_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 16 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 16 different instances of potential conflicts where different plugins or themes share the function name.

Examples of this error include:

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/car-loan-calculator/index.php:99)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/readypulse-social-brand-advocacy-widget/readypulse.php:413)

This file is part of the WordPress plugin ReadyPulse Social Brand Advocacy Widget and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/china-pm25/china-pm25.php:84)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/immobili-domusuite/domussuite-plugin.php:131)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/binlayercom-blog-banner/binlayer.php:69)

This file is part of the WordPress plugin Binlayer.com Blog-Banner and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/shapla-google-adsense/widget/widget-google-adsense.php:82)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/shardul-pandey-talks/shardulpandeytalks.php:50)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/wp-flickr-more-images/wpboot_flickr_more_images.php:125)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/snoox/snooxWidgets.php:372)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/bracketpress/lib/bracketpress-widgets.php:23)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/myvoice-widget/myvoice-widget.php:13)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/paypal-donation-buttons/admin/partials/paypal-donation-for-wordpress-admin-widget.php:166)

This file is part of the WordPress plugin PayPal Donation Buttons + MailChimp and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/wprealestate/wprealestate.php:181)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/ads-by-cb/adsbycb.php:11)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/raise-the-money/raise-the-money-widget.php:60)

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

PHP Fatal error: Cannot redeclare myplugin_register_widgets() (previously declared in wp-content/plugins/anetwork-widget/anetwork-widget.php:116)

This file is part of the WordPress plugin Anetwork 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.