• Resolved faelanduk

    (@faelanduk)


    Hi,

    Only 1 of 9 plugins is showing in the “all” plugins area (Askimet Anti-Spam (it’s de-activated).
    Only 1 of 6 plugins is showing in the “active” plugins section (Envato Market).

    Below the plugins I’m getting the following error message:
    Fatal error: Using $this when not in object context in /home/faelandc/public_html/wp-content/plugins/wp-reset/wp-reset.php on line 439 Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/faelandc/public_html/wp-includes/functions.php on line 3743 Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/faelandc/public_html/wp-includes/functions.php on line 3743

    I also get this error at the bottom of each page when I preview it:
    “Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/faelandc/public_html/wp-includes/functions.php on line 3743 Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/faelandc/public_html/wp-includes/functions.php on line 3743”

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Hey,

    Have you tried to remove the WP Reset plugin and see if you still have this problem? You can try to remove it through FTP since you can see only one plugin in the dashboard area.

    Thread Starter faelanduk

    (@faelanduk)

    Hi Radu,

    Thank you! That has solved the plugin error. They’re all showing now, and I’m not getting the “wp-reset error”.

    I’m still getting the other error though:
    Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/faelandc/public_html/wp-includes/functions.php on line 3743 Notice: ob_end_flush(): failed to send buffer of zlib output compression (1) in /home/faelandc/public_html/wp-includes/functions.php on line 3743

    This is coming up on every page.

    Any ideas on how to fix this?

    Moderator Jose Castaneda

    (@jcastaneda)

    THEME COFFEE MONKEY

    I’m going to quote somebody else from another post:

    If you search for this error you will see it is a common WordPress error, which pops up when you have zlib output compression enabled. Disable it and it should be solved. For more info, do a search on the error, or see this thread:
    https://stackoverflow.com/questions/38693992/notice-ob-end-flush-failed-to-send-buffer-of-zlib-output-compression-1-in

    I also found: https://core.trac.ww.wp.xz.cn/ticket/22430#comment:4

    as well as: https://core.trac.ww.wp.xz.cn/ticket/18525

    Thread Starter faelanduk

    (@faelanduk)

    Hi Jose,

    Thanks for your response.

    To be honest I am not a developer and most of those threads are over my head. I couldn’t find a php.ini file, so created one in “public_html” with the code zlib.output_compression = Off.

    This has solved the problem when I preview a page in WordPress, but not inside WordPress itself (it’s still showing the same error).

    Any easy step by step directions for me to try? Thanks.

    Hi,

    Have you tried to add this line of code:

    remove_action('shutdown', 'wp_ob_end_flush_all', 1);
    

    in the <b>functions.php</b> file of your theme? Also, you can use a plugin like this one in order to add the code I attached (instead of edititng the PHP file).

    Thread Starter faelanduk

    (@faelanduk)

    Thanks guys for all your help. I’ve been away so haven’t had chance to message back.

    I asked my host to update my PHP version to 7+ which seemed to fix the error!

    Stopping by to say switching to PHP7 alone didn’t change this debug error but the snip suggested by @raduconstantin worked wonders.

    remove_action('shutdown', 'wp_ob_end_flush_all', 1);

    Cheers

    Its worked for be by just updating PHP Version to 7+ and set define(‘WP_MEMORY_LIMIT’,’1024M’) in config.php.

    Thanks all! I had 2 of these warning messages. First one solved by updating PHP Version to 7+. Second one solved by updating PHP.ini (most shared hosting let’s you do that) – memory_limit = 512M.

    Something to keep in mind, if you turn off debugging mode in your wp-config.php you won’t see these warnings.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘Plugin Problem and “ob_end_flush():” error’ is closed to new replies.