wpsnoop Fatal error: Cannot redeclare menu()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare menu() (previously declared in wp-content/plugins/wp-enviroment-beacon/confs/menu-page.php:2)

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

PHP Fatal error: Cannot redeclare menu() (previously declared in wp-content/plugins/mass-advertising/inc/inc.functions.php:348)

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

PHP Fatal error: Cannot redeclare menu() (previously declared in wp-content/plugins/pagemenu/pagemenu.php:63)

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

PHP Fatal error: Cannot redeclare menu() (previously declared in wp-content/plugins/wp-hide-my-site/index.php:24)

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

PHP Fatal error: Cannot redeclare menu() (previously declared in wp-content/plugins/marctv-art-directed-blogging/marctv_art_directed_blogging.php:62)

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

PHP Fatal error: Cannot redeclare menu() (previously declared in wp-content/plugins/ip2location-world-clock/ip2location-world-clock-menu.php:258)

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

PHP Fatal error: Cannot redeclare menu() (previously declared in wp-content/themes/picture-perfect/functions.php:45)

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

PHP Fatal error: Cannot redeclare menu() (previously declared in wp-content/plugins/mailchimp-for-shopified/index.php:32)

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

PHP Fatal error: Cannot redeclare menu() (previously declared in wp-content/plugins/email-2-image/emailtoimage.php:35)

This file is part of the WordPress plugin Email to Image 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.