wpsnoop Fatal error: Cannot redeclare add_admin_menu()

If you are dealing with a WordPress issue where a PHP Function add_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 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_admin_menu() (previously declared in wp-content/plugins/easy-digital-downloads-payment-gateway-cashbill/edd-cashbill-gateway.php:180)

This file is part of the WordPress plugin Easy Digital Downloads Payment Gateway - CashBill and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/click-to-call-synclio/synclio.php:332)

This file is part of the WordPress plugin Synclio Click to Call, Chat, Connect and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/wp-pexels-free-stock-photos/settings.php:11)

This file is part of the WordPress plugin Pexels: Free Stock Photos and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/dpepress/dpepress.php:146)

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

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/lemon-way-for-ecommerce/woocommerce-gateway-lemonway.php:191)

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

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/stop-sopa-and-pipa-plugin/functions.php:32)

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

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/wp-ecommerce-payment-gateway-cashbill/wp-ecommerce-cashbill.php:230)

This file is part of the WordPress plugin WP eCommerce Payment Gateway - CashBill and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/wp-referrers/wp-referrers.php:135)

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

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/images-thumbnail-sliderv1/wordpress-thumbnail-slider.php:54)

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

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/notify-on-comment-and-on-approved-comment/admin-menu.php:6)

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

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/simple-comment-reply-notification/simple-comment-reply-notification.php:80)

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

PHP Fatal error: Cannot redeclare add_admin_menu() (previously declared in wp-content/plugins/disclosure-for-amazon-affiliate/index.php:27)

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