wpsnoop Fatal error: Cannot redeclare my_init_method()

If you are dealing with a WordPress issue where a PHP Function my_init_method() 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_init_method() (previously declared in wp-content/plugins/mblogi-cricket/mblogi-cricket.php:73)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/dp-custom-recent-posts/dp-custom-recent-posts.php:29)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/themes/all-orange/functions.php:25)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/responsiv/responsiv.php:28)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/themes/jessica-fletcher-redux/functions.php:595)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/old-post-notifier/old-post-notifier.php:100)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/measure-viewport-size/measure-viewport-size.php:13)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/wordpress-simple-shout-box/wp-shoutbox.php:57)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/sufias-daily-gift/today-gift-sufias.php:100)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/category-list-portfolio-page/main.php:23)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/ie-pinned/ie-pinned.php:360)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/qlaff/qlaff-toplist.php:274)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/clock-widget2/clock.php:29)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/themes/easyone/functions.php:29)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/adif-log-search-widget/logbook.php:132)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/plugins/responsive-width-tag/responsive-width-tag.php:28)

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

PHP Fatal error: Cannot redeclare my_init_method() (previously declared in wp-content/themes/under-the-influence/functions.php:245)

This file is part of the WordPress theme Under the Influence 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.