wpsnoop Fatal error: Cannot redeclare my_plugin_init()

If you are dealing with a WordPress issue where a PHP Function my_plugin_init() 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 17 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 17 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_plugin_init() (previously declared in wp-content/plugins/bp-show-activity-liked-avatars/bp-show-activity-liked-avatar.php:45)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/buddypress-update-email-reminder-lightbox/loader.php:14)

This file is part of the WordPress plugin BuddyPress Update Email Reminder Lightbox and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/wp-postviews-data-delete/index.php:15)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/ecall/functions.php:28)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/woocommerce-signup-to-get-discount/woocommerce-signup-to-get-discount.php:71)

This file is part of the WordPress plugin Woocommerce Signup To Get Discount and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/reduce-debt-plugin/loader.php:9)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/randomize/randomize.php:29)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/bp-disable-activation/bp-disable-activation-loader.php:36)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/cms-product-zoom-for-woocommerce/cms-product-zoom-for-woocommerce.php:20)

This file is part of the WordPress plugin CMS Product Zoom for WooCommerce and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/buddypress-forums-move-topic-planned-split-and-merge-topic/loader.php:12)

This file is part of the WordPress plugin BuddyPress Group Forums - Move Topic and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/json-api-for-buddypress/json-api-for-buddypress.php:16)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/images-2-posts/fwp_images_to_posts.php:16)

This file is part of the WordPress plugin Fuxy's WP Images 2 Posts and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/kakao-talk-link/kakaolink.php:29)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/foldio360/foldio_plugin.php:161)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/mini-popup/mini-popup.php:13)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/minijappix/minijappix.php:34)

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

PHP Fatal error: Cannot redeclare my_plugin_init() (previously declared in wp-content/plugins/page-wise-gallery/page-wise-gallery.php:38)

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