wpsnoop Fatal error: Cannot redeclare myplugin_init()

If you are dealing with a WordPress issue where a PHP Function myplugin_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 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 myplugin_init() (previously declared in wp-content/plugins/dedinomy/dedinomy.php:17)

This file is part of the WordPress plugin Mes dédicaces avec Dédinomy BETA and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare myplugin_init() (previously declared in wp-content/plugins/altchecker/altchecker.php:19)

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

PHP Fatal error: Cannot redeclare myplugin_init() (previously declared in wp-content/plugins/twitter-posts-to-blog/twitter-posts-to-blog.php:32)

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

PHP Fatal error: Cannot redeclare myplugin_init() (previously declared in wp-content/plugins/bible-post/biblepost.php:429)

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

PHP Fatal error: Cannot redeclare myplugin_init() (previously declared in wp-content/plugins/lamlim-button/lamlim-config.php:28)

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

PHP Fatal error: Cannot redeclare myplugin_init() (previously declared in wp-content/plugins/wordcamp-lisbon-ribbon/wclxribbon.php:26)

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

PHP Fatal error: Cannot redeclare myplugin_init() (previously declared in wp-content/plugins/parallax-scrolling-enllax-js/parallax-scrolling-enllax-js.php:13)

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

PHP Fatal error: Cannot redeclare myplugin_init() (previously declared in wp-content/plugins/b-reputation-reviews/b-reputation.php:53)

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

PHP Fatal error: Cannot redeclare myplugin_init() (previously declared in wp-content/plugins/pgnviewer-plugin/pgnviewer.php:10)

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

PHP Fatal error: Cannot redeclare myplugin_init() (previously declared in wp-content/plugins/error-notification/main.php:97)

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

PHP Fatal error: Cannot redeclare myplugin_init() (previously declared in wp-content/plugins/spiderdisplay/SpiderDisplay.php:54)

This file is part of the WordPress plugin SpiderDisplay 蜘蛛痕迹记录 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.