wpsnoop Fatal error: Cannot redeclare add_menu()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare add_menu() (previously declared in wp-content/plugins/solid-earth-spring-api/menu.php:6)

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

PHP Fatal error: Cannot redeclare add_menu() (previously declared in wp-content/plugins/blog-post-stats/index.php:62)

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

PHP Fatal error: Cannot redeclare add_menu() (previously declared in wp-content/plugins/wp-admin-theme/wp-admin-theme.php:15)

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

PHP Fatal error: Cannot redeclare add_menu() (previously declared in wp-content/plugins/asian-word-count/asianwordcount.php:481)

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

PHP Fatal error: Cannot redeclare add_menu() (previously declared in wp-content/plugins/photoshelter-official-plugin/photoshelter.php:176)

This file is part of the WordPress plugin PhotoShelter for Photographers Blog Feed Plugin and could be interacting with another theme or plugin and causing a fatal error.

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

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 add_menu() (previously declared in wp-content/plugins/post-carousel-slider/post-carousel-slider.php:56)

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

PHP Fatal error: Cannot redeclare add_menu() (previously declared in wp-content/plugins/insert-anywhere/insert-anywhere.php:57)

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

PHP Fatal error: Cannot redeclare add_menu() (previously declared in wp-content/plugins/ultimateadminsms/UltimateAdminSms.php:43)

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

PHP Fatal error: Cannot redeclare add_menu() (previously declared in wp-content/plugins/captcha-in-thai/captcha-in-thai.php:44)

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

PHP Fatal error: Cannot redeclare add_menu() (previously declared in wp-content/plugins/captcha-in-thai-2nd/captcha-in-thai.php:48)

This file is part of the WordPress plugin CAPTCHA In Thai 2nd and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare add_menu() (previously declared in wp-content/plugins/back-link-tracker/backlinktracker.php:110)

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