wpsnoop Fatal error: Cannot redeclare my_admin_menu()

If you are dealing with a WordPress issue where a PHP Function my_admin_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 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 my_admin_menu() (previously declared in wp-content/plugins/gs-gomobi-redirector/index.php:16)

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

PHP Fatal error: Cannot redeclare my_admin_menu() (previously declared in wp-content/plugins/informational-popup/info_popup_main.php:190)

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

PHP Fatal error: Cannot redeclare my_admin_menu() (previously declared in wp-content/plugins/gs-woocommerce-products-slider/gswps-files/gs-wps-cpt.php:55)

This file is part of the WordPress plugin GS Products Slider for WooCommerce Lite and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_admin_menu() (previously declared in wp-content/plugins/customemail/CustomEmail.php:35)

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

PHP Fatal error: Cannot redeclare my_admin_menu() (previously declared in wp-content/plugins/wpdb-to-sql/wpdb-sql.php:26)

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

PHP Fatal error: Cannot redeclare my_admin_menu() (previously declared in wp-content/plugins/live-sports-streamthunder/st-widget.php:175)

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

PHP Fatal error: Cannot redeclare my_admin_menu() (previously declared in wp-content/themes/adelle/includes/adelle_getting_started.php:5)

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

PHP Fatal error: Cannot redeclare my_admin_menu() (previously declared in wp-content/plugins/title-icons/titleicons.php:145)

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

PHP Fatal error: Cannot redeclare my_admin_menu() (previously declared in wp-content/plugins/wpcf7-redirect/classes/class-wpcf7r-post-types.php:83)

This file is part of the WordPress plugin Redirection for Contact Form 7 and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare my_admin_menu() (previously declared in wp-content/plugins/fast-wp-speed/fastwpspeed.php:24)

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

PHP Fatal error: Cannot redeclare my_admin_menu() (previously declared in wp-content/plugins/fukudonkenjin/fukudonkenjin.php:43)

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