wpsnoop Fatal error: Cannot redeclare register_my_menu()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare register_my_menu() (previously declared in wp-content/plugins/piwigomedia/piwigomedia.php:61)

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

PHP Fatal error: Cannot redeclare register_my_menu() (previously declared in wp-content/themes/ready2launch/functions.php:298)

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

PHP Fatal error: Cannot redeclare register_my_menu() (previously declared in wp-content/themes/torn/functions.php:19)

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

PHP Fatal error: Cannot redeclare register_my_menu() (previously declared in wp-content/themes/fog-lite/functions.php:149)

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

PHP Fatal error: Cannot redeclare register_my_menu() (previously declared in wp-content/themes/gchrome/functions.php:8)

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

PHP Fatal error: Cannot redeclare register_my_menu() (previously declared in wp-content/themes/food-recipe/functions.php:7)

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

PHP Fatal error: Cannot redeclare register_my_menu() (previously declared in wp-content/themes/dark-shop-lite/functions.php:24)

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

PHP Fatal error: Cannot redeclare register_my_menu() (previously declared in wp-content/themes/mmcrisp/functions.php:28)

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

PHP Fatal error: Cannot redeclare register_my_menu() (previously declared in wp-content/themes/jshop/functions.php:24)

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

PHP Fatal error: Cannot redeclare register_my_menu() (previously declared in wp-content/themes/voidy/functions.php:276)

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