woo-badge-designer-lite/includes/admin/class/wobd-hook.php
causing this plugin to break the output buffer when woocommerce_product_get_image
is called outside of the product page context. The ob_start()
call in wobd_badge_on_product
is made at the beginning of the function, but outside of the product pages, the condition if ( $product ) {
returns false, and ob_end_clean()
is never called. This leads to conflicts with other plugins that also make use of the output buffer (like our own WooCommerce PDF Invoices & Packing Slips), mixing up start and end of different level buffers.ob_start()
call to inside the if-statement fixes this.
]]>There’s a typo at views/auto_switcher/classic_blocks.php
At line 7 there’s an ob_clean call:
<?php ob_clean()?>
but that should be ob_start() instead.
It causes output buffer problems when the WooCommerce > Settings > Side Switcher is turned on.
Can you correct this, please?
]]>So it will look like:
echo $after_widget;
if ($cache) {
$cache[$args[‘widget_id’]] = ob_get_flush();
}
wp_cache_set( ‘widget_ultimate_posts’, $cache, ‘widget’ );
ob_end_flush();
}
function update( $new_instance, $old_instance ) {
]]>
ob_end_flush()
: failed to delete and flush buffer. No buffer to delete or flush in /wp-content/plugins/avatar-privacy/includes/avatar-privacy/components/class-user-profile.php on line 136
I see that in the debug.log on my development server. Maybe users see that only in WordPress debug modus. It is not obvious under which circumstances that notice appears.
Any advices?
]]>ob_get_clean()
function. It does not call the output buffer callbacks and it can create conflict with other plugins.
Instead
$content = ob_get_clean();
You should use:
$content = ob_get_contents();
ob_clean();
It does the same job, but this implementation calls the ob_start
callback properly.
See the bug report at PHP: https://bugs.php.net/bug.php?id=76563
More details how I found this bug:
We are testing Smart Slider 3 with several plugins. When Speed Contact Bar and Reviews (https://www.ads-software.com/plugins/ultimate-reviews/) is activated, Speed contact bar is not able to call ob_start() as the Reviews plugin skips that action. So Speed Contact bar was not able to open the output buffer, but at the end it closes one, and it closes Smart Slider’s output buffer which has a callback and that callback get skipped.
I have just clicked: “Update pluggin” on my website. After that I log in my wp-admin then it’s appear that: “Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0”
I meet this error for the first time. Can you help me? Please make it simple because my english not good ^^
Thank and best regard
]]>Thank you for the wonderful plugin! It’s extremely useful.
Up until recently, I had the Optimize HTML Code option set, and everything was working great. However, I just learned that on a very specific page, modified for specific users, this feature caused the page to render completely blank (after taking a full minute to load).
Here’s the relevant entries from my debug log:
[26-May-2015 17:05:15 UTC] PHP Fatal error: Maximum execution time of 60 seconds exceeded in /var/www/wp-content/plugins/autoptimize/classes/external/php/minify-html.php on line 130
[26-May-2015 17:05:15 UTC] PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
Under CSS Options, there’s a setting to Exclude CSS from Autoptimize. I’m wondering if there could be similar option to exclude certain pages from HTML optimization? Then I could just tell it to ignore this one page without sacrificing the benefit of compressing the others.
Thank you so much for your help!
https://www.ads-software.com/plugins/autoptimize/
]]>https://www.ads-software.com/plugins/nextgen-gallery/
]]>[30-Oct-2013 09:00:46 UTC] PHP Fatal error: Class 'TablePress_Controller' not found in /wp-content/plugins/tablepress/controllers/controller-frontend.php on line 21
[31-Oct-2013 09:00:53 UTC] PHP Fatal error: Class 'TablePress_Controller' not found in /wp-content/plugins/tablepress/controllers/controller-frontend.php on line 21
I’m also getting these errors
Oct 31, 11:42:08 PHP Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
Here’s my website: evscicats.com
Are the two types of errors related? Any assistance is greatly appreciated. Thanks!
https://www.ads-software.com/plugins/tablepress/
]]>