• I got that error in the log:

    [17-Nov-2021 16:16:47 UTC] Array
    (
        [error] => Notice
        [file] => //public_html/wp-content/plugins/cookie-law-info/public/modules/script-blocker/script-blocker.php
        [line] => 488
        [filter] => shutdown
        [message] => Notice (8): ob_end_flush(): failed to send buffer of zlib output compression (0)
        [url] => https://domain.com/wp-admin/update-core.php?action=do-translation-upgrade
    )

    Maybe because I am using W3tc that already flush?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author WebToffee

    (@webtoffee)

    Hi @mte90,

    Sorry for the inconvenience caused. We can help with that.

    This error may occur when both the GDPR plugin and W3TC flushes the buffer. Please check whether the error exists or not while temporarily disabling the W3tc plugin or other plugins.

    Also please check the workaround mentioned in this link.

    Thread Starter Daniele Scasciafratte

    (@mte90)

    I can’t disable W3TC but I added that code.

    Plugin Author WebToffee

    (@webtoffee)

    Hi @mte90,

    Great. Hope the issue is resolved now.

    No the issue wasn’t resolved.

    I patched your plugin on that line in this way at line 486:

    if( !wp_doing_ajax() && $this->get_blocking_status() === true && $this->advanced_rendering_enabled() === true && $this->third_party_scripts() === true ) {

    I saw that happens with ajax request and they can be killed early or manipulated for various reasons.

    Plugin Author WebToffee

    (@webtoffee)

    Hi @mte90,

    We will patch this code in the upcoming plugin update.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ob_end_flush(): failed to send buffer of zlib output compression’ is closed to new replies.