wpsnoop Fatal error: Cannot redeclare debug_to_console()

If you are dealing with a WordPress issue where a PHP Function debug_to_console() 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 8 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 8 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_to_console() (previously declared in wp-content/plugins/debug-objects/inc/autoload/functions.php:34)

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

PHP Fatal error: Cannot redeclare debug_to_console() (previously declared in wp-content/plugins/vergify-crm/vergify.php:355)

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

PHP Fatal error: Cannot redeclare debug_to_console() (previously declared in wp-content/plugins/us-heat-map/us-heat-map.php:239)

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

PHP Fatal error: Cannot redeclare debug_to_console() (previously declared in wp-content/plugins/roundcloud/roundcloud.php:272)

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

PHP Fatal error: Cannot redeclare debug_to_console() (previously declared in wp-content/plugins/ziplist-recipe-plugin/zlrecipe.php:117)

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

PHP Fatal error: Cannot redeclare debug_to_console() (previously declared in wp-content/plugins/hotelrunner/inc/hotelrunner-admin-functions.php:45)

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

PHP Fatal error: Cannot redeclare debug_to_console() (previously declared in wp-content/plugins/wordpress-ecommerce/includes/common/helpers.php:881)

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

PHP Fatal error: Cannot redeclare debug_to_console() (previously declared in wp-content/plugins/wp-jv-post-reading-groups/wp-jv-post-reading-groups.php:1099)

This file is part of the WordPress plugin WP JV Post Reading Groups 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.