• Hello,

    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:

    1. Yoast SEO (addon-update-watcher.php):
      • File: /wp-content/plugins/wordpress-seo/src/integrations/watchers/addon-update-watcher.php
      • Line: 197
      • Error: LiteSpeed\Root::cls(): Cannot use output buffering in output buffering display handlers.
    2. Yoast SEO (auto-update-watcher.php):
      • File: /wp-content/plugins/wordpress-seo/src/integrations/watchers/auto-update-watcher.php
      • Line: 12
      • Error: LiteSpeed\Root::cls(): Cannot use output buffering in output buffering display handlers.
    3. WordPress Core (ajax-actions.php):
      • File: /wp-admin/includes/ajax-actions.php
      • Line: 4577
      • Error: LiteSpeed\Root::cls(): Cannot use output buffering in output buffering display handlers.
    4. WooCommerce (class-woocommerce.php):
      • File: /wp-content/plugins/woocommerce/includes/class-woocommerce.php
      • Line: 407
      • Error: LiteSpeed\Root::cls(): Cannot use output buffering in output buffering display handlers.
    5. Yoast SEO (yoast-tools-page-conditional.php):
      • File: /wp-content/plugins/wordpress-seo/src/conditionals/yoast-tools-page-conditional.php
      • Line: 15
      • Error: LiteSpeed\Root::cls(): Cannot use output buffering in output buffering display handlers.
    6. Issues with wp-login.php and /wp-admin:
      • Output buffering conflicts are affecting the functionality of these pages, causing errors during login and backend actions.

    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.

    • This topic was modified 5 days, 3 hours ago by nacho469.
Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Support litetim

    (@litetim)

    @nacho469 please create a report(from LSC => Toolbox => Report) and send the number generated.
    Thank you!

    Plugin Support litetim

    (@litetim)

    Also please tell me the versions of Yoast and Woocommerce

    Thread Starter nacho469

    (@nacho469)

    Número de informe: KNDOTSEX

    Fecha de informe: 11/18/2024 14:13:18

    yoast seo: 23.8

    woocomerce: 9.4.1

    Plugin Support litetim

    (@litetim)

    Thank you!
    Can you give me a step by step of how I can reproduce the log to appear?

    Thread Starter nacho469

    (@nacho469)

    Hi,

    Thank you for your response. Unfortunately, I’m unable to provide step-by-step instructions to reproduce the log errors, as the issues I reported are based on the WooCommerce error logs and, for me, they seem to occur randomly.

    Additionally, we are encountering the PHP memory limit error (Allowed memory size exhausted). We plan to address this by increasing the memory limit on our server, but I’m unsure if this issue is related to this other.

    Please let me know if there’s anything else you need from my end to assist with resolving these problems.

    Thank you for your understanding!

    Plugin Support litetim

    (@litetim)

    @nacho469
    hmmm
    I will look into woocommerce logs
    I am sorry about the PHP memory limits errors, but that is not something we can control. What is current limit?

    Thread Starter nacho469

    (@nacho469)

    Our current PHP memory limit is 128M. I understand that the memory limit issue is on our end, and we are already working to increase it.

    I mentioned it in case it might be related to the output buffering errors, as I wanted to provide you with complete information for context. Other than these errors, we haven’t experienced any other issues on our platform.

    Please let me know if there’s anything else you need to investigate this further.

    Thank you for your support!

    Plugin Support litetim

    (@litetim)

    Meanwhile I created a test site with Yoast, Woocommerce and Litespeed Cache plugin.
    Imported some products in Woocommerce, made some basic settings in Yoast + LSC.
    Made an user account + 2 orders and there are no errors added into Woocommerce logs.

    Might be linked to the memory limit but not sure!
    Have you increased the limit? Maybe some code that is running from time to time is creating the logs.

Viewing 8 replies - 1 through 8 (of 8 total)
  • You must be logged in to reply to this topic.