We are encountering recurring output buffering issues with LiteSpeed Cache that are causing critical errors on our WordPress site. Below are the specific errors we have identified:
addon-update-watcher.php
):
/wp-content/plugins/wordpress-seo/src/integrations/watchers/addon-update-watcher.php
LiteSpeed\Root::cls(): Cannot use output buffering in output buffering display handlers
.auto-update-watcher.php
):
/wp-content/plugins/wordpress-seo/src/integrations/watchers/auto-update-watcher.php
LiteSpeed\Root::cls(): Cannot use output buffering in output buffering display handlers
.ajax-actions.php
):
/wp-admin/includes/ajax-actions.php
LiteSpeed\Root::cls(): Cannot use output buffering in output buffering display handlers
.class-woocommerce.php
):
/wp-content/plugins/woocommerce/includes/class-woocommerce.php
LiteSpeed\Root::cls(): Cannot use output buffering in output buffering display handlers
.yoast-tools-page-conditional.php
):
/wp-content/plugins/wordpress-seo/src/conditionals/yoast-tools-page-conditional.php
LiteSpeed\Root::cls(): Cannot use output buffering in output buffering display handlers
.wp-login.php
and /wp-admin
:
These errors appear to stem from conflicts between LiteSpeed Cache’s output buffering functionality and processes in WordPress Core, Yoast SEO, and WooCommerce.
Could you provide guidance or a fix for these issues?
Thank you for your assistance.
]]>Could someone help please?
Thanks so much in advance
]]>I’m encountering an interesting error on an e-commerce site that I’m busy developing (still hidden behind a coming soon page).
The facts are as follows:
If I disable Output Buffering in Meow Lightbox, then the lightbox does not work at all. And no PHP error.
With Output Buffering enabled, Meow Lightbox works but the title and caption fields are empty (even though both have been added in the Media Library). Now the following fatal PHP error is displayed:
Fatal error: Uncaught TypeError: date(): Argument #2 ($timestamp) must be of type ?int, string given in /usr/www/users/domain/wp-content/plugins/meow-lightbox/classes/core.php:257 Stack trace: #0 /usr/www/users/domain/wp-content/plugins/meow-lightbox/classes/core.php(257): date('j F Y - H:i', '') #1 /usr/www/users/domain/wp-content/plugins/meow-lightbox/classes/core.php(456): Meow_MWL_Core->get_exif_info('173') #2 /usr/www/users/domain/wp-content/plugins/meow-lightbox/classes/core.php(438): Meow_MWL_Core->write_mwl_data(true) #3 [internal function]: Meow_MWL_Core->lightboxify('...', 9) #4 /usr/www/users/domain/wp-includes/functions.php(5309): ob_end_flush() #5 /usr/www/users/domain/wp-includes/class-wp-hook.php(308): wp_ob_end_flush_all('') #6 /usr/www/users/domain/wp-includes/class-wp-hook.php(332): WP_Hook->apply_filters(NULL, Array) #7 /usr/www/users/domain/wp-includes/plugin.php(517): WP_Hook->do_action(Array) #8 /usr/www/users/domain/wp-includes/load.php(1144): do_action('shutdown') #9 [internal function]: shutdown_action_hook() #10 {main} thrown in /usr/www/users/domain/wp-content/plugins/meow-lightbox/classes/core.php on line 257
Any ideas or pointers would be much appreciated.
Regards.
i.e. “The White Screen of Death”
PHP Error log shows:
fatal 2022-04-12 13:00:32 Allowed memory size of 536870912 bytes exhausted (tried to allocate 155648 bytes) in Unknown on line 0
wp-admin side works fine.
Memory was set to 256M when I started getting the error. Increasing to 512M did not help.
I tried disabling every plugin one by one and found disabling Meow lightbox restored my front-end access.
Further test showed a rollback to 3.1.6 fixes problem.
Bizarre FYI: I run two other sites and they work fine with 3.1.8
The two sites that 3.1.8 works on are:
Server architecture Linux 4.15.0-175-generic x86_64
Web server Apache/2.4.53 (Unix) OpenSSL/1.1.1
PHP version 7.4.28 (Supports 64bit values)
WordPress Version 5.9.3 en_CA
The server that 3.1.8 fails on is:
Server architecture Linux 5.4.0-107-generic x86_64
Web server Apache/2.4.53 (Unix) OpenSSL/1.1.1f
PHP version 7.4.28 (Supports 64bit values)
WordPress Version 5.9.3 en_CA
I’m going to keep looking for other differences in the sites but I’m reporting it here hoping for some help … and to warn others.
]]>I run general admin on a WordPress site and have run into a fatal error when doing a recent batch of plugin updates.
The bulk update I was doing stalled half way so I refreshed the page, but I got the following message instead of reloading the WP admin page:
Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
This message also shows when trying to load any part of the front-end website.
A lot of the people with the same issue seem to still be able to access plugin options and general back-end stuff, but I am unable to load up anything at the minute. I’ve got a suspicion that the culprit may be the Cornerstone plugin (used for page building on the site) as that is where the bulk update stalled, however I can’t be 100% certain.
Site in question is neatacoustics.com
Any help would be much appreciated!
]]>Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
I tried to follow the pre-question instructions, and it does seem to work fine as an admin search for these terms. I tried to use Query Monitor, and with that active I just get a 500 error when trying the problem searches, nothing else displays at all.
Maybe this has to do with my server setup and I need to check on that side, but anything you can do to help me troubleshoot or suggestions to try would be great. I’m open to buying the Premium version if this could be related to that, trying out certain settings (I attempted to simplify, no highlights/excerpts etc), or whatever you suggest. Many thnks!
]]>WordPress Version: 5.2.2
NextGEN Gallery Version: 3.2.11
MySQL Version: 5.6.32
Perl Version: 5.8.8
PHP Version: 7.0.15
I recieve this when going to my site
Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in /[narf]/public_html/_sites/whitelotuswellnesscenter.org/site/current/wp-content/plugins/siteorigin-panels/inc/widget-shortcode.php on line 57
Deactivating the Page Builder raises this error.
Fatal error: ob_start(): Cannot use output buffering in output buffering display handlers in /[narf]/public_html/_sites/whitelotuswellnesscenter.org/site/current/wp-content/plugins/so-widgets-bundle/base/inc/shortcode.php on line 39
Deactivating the Widgets bundle raises the original error with Page Builder.
The Admin Dashboard is unaffected mercifully.
I’m still working through the usual activating/deactivating mumbo jumbo but amd not having any luck. Thoughts?
Cheers,
VC Nickels
]]>Fatal error: Unknown: Cannot use output buffering in output buffering display handlers in Unknown on line 0
There are similar topics out there for this exact issue with other caching plugins (e.g. W3TC), and the errors seem to be tied to the minification settings, but I am unsure of how to correct this issue in WPSoL. Any help would be greatly appreciated!
Side note: 2.3.0 had no issues on this end, and the issue goes away when the plugin is deactivated (it is deactivated on the site currently)
]]>Could you tell me how I put the ads in the header? at the top of my website. I do not see the form. Thank you
]]>