wpsnoop Fatal error: Cannot redeclare register_my_custom_submenu_page()

If you are dealing with a WordPress issue where a PHP Function register_my_custom_submenu_page() 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 register_my_custom_submenu_page() (previously declared in wp-content/plugins/qr-code-generate/qr-generate-link.php:49)

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

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/bttlive/includes/bttliveHandbuch.php:13)

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

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/issiy-for-yoast/more-sitemaps.php:34)

This file is part of the WordPress plugin IsSiY (Include second Sitemap into Yoast) Wordpress SEO Extension and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/md-responsive-jquery-slider/index.php:38)

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

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/youtube-gallery/hkYouTubeGallary.php:171)

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

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/all-in-one-slider/all-in-one-slider.php:50)

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

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/wc-bulk-add-custom-related-products/bulk-add-custom-related-products.php:276)

This file is part of the WordPress plugin WC Bulk Add Custom custom Related Products and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/woo-custom-checkout-field/index.php:71)

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

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/hg-notifications/options_panel.php:2)

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

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/yblog-stats/yblogstats.php:235)

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

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/wp2android-turn-wp-site-into-android-app/namcoder.php:147)

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

PHP Fatal error: Cannot redeclare register_my_custom_submenu_page() (previously declared in wp-content/plugins/keypress-list/keypress-list.php:38)

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