wpsnoop Fatal error: Cannot redeclare do_output_buffer()

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

Examples of this error include:

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/woopanel/includes/helper/woopanel-actions.php:4)

This file is part of the WordPress plugin WooPanel – FrontEnd Manager for Store Manager and WooCommerce Vendor and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/sn-rating/sn_rating.php:31)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/10centmail-subscription-management-and-analytics/TenCent.php:177)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/tabs-accordion/tabs-accordion.php:94)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/portrait-archiv-shop/portraitarchiv-functions.php:228)

This file is part of the WordPress plugin Portrait-Archiv.com Photostore and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/campaign-monitor-dashboard/views/shortcode.php:49)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/image-video-gallery-with-categories/image-video-gallery-with-categories.php:29)

This file is part of the WordPress plugin Image & Video Gallery with categories and could be interacting with another theme or plugin and causing a fatal error.

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/indicative-analytics/indicative.php:43)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/customize-woocommerce/plugincore.php:69)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/mybooker/mybooker.php:105)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/antirobot-contact-form/index.php:24)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/formzu-wp/formzu-wp.php:35)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/weblumia-slider/lumia-slider.php:42)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/setcron/setcron.php:34)

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

PHP Fatal error: Cannot redeclare do_output_buffer() (previously declared in wp-content/plugins/custom-theme-options/custom-theme-options.php:45)

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