wpsnoop Fatal error: Cannot redeclare debug()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/taketin-to-wp-membership/classes/taketin-mp-auth.php:878)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/devmonsta/core/helpers/general.php:160)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/bx-essentials/includes/utils/debug.php:51)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/unyson/framework/helpers/general.php:429)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/htauth-sync/htauthsync.php:28)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/ip-address-blocker/lib/lionscripts_plg.class.php:42)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/themes/greenblog/func/scb/Util.php:117)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/wpjaipho/library/Xx/Log.php:124)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/inkmember-build-your-membership-site-easily/inc/gateway/paypal/ipn.php:346)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/blip-slideshow/blip.php:390)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/another-wordpress-classifieds-plugin/debug.php:131)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/amskape-config/includes/shortcodes.php:185)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/kodex-posts-likes/kodex-posts-likes.php:31)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/wp-planet/rss.class/rss_fetch.inc:242)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/archives-calendar-widget/archives-calendar.php:218)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/snoobi-for-wordpress/snoobi-for-wp.php:129)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/conferencer/functions.php:90)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/sdi-scarcity-timer/includes/common-functions.php:30)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/postyper/functions.php:18)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/enduring-word-bible-commentary/Includes/end_word_function.php:26)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/wapple-architect/theme/functions.php:80)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/webmaster-tools/lib/lionscripts_plg.class.php:43)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/translate2011/translate.php:1396)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/listar-directory-listing/includes/functions.php:13)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/mazi-rest-apis/includes/functions.php:13)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/dodebug/dodebug.php:46)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/sendfeed/sendfeed.php:166)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/vincss-fido2-login/src/Init.php:69)

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

PHP Fatal error: Cannot redeclare debug() (previously declared in wp-content/plugins/maintenance-and-noindex-nofollow/lib/lionscripts_plg.class.php:42)

This file is part of the WordPress plugin LionScripts: Site Maintenance & Noindex Nofollow 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.