Forums

[Plugin: WP-o-Matic] Warning: gzuncompress() [function.gzuncompress]: data error (5 posts)

  1. diondev
    Member
    Posted 5 months ago #

    I keep getting the error:

    Warning: gzuncompress() [function.gzuncompress]: data error in /home/user/public_html/site/wp-includes/http.php on line 1792

    When fetching posts. How do I fix this?

  2. tiggsy
    Member
    Posted 4 months ago #

    Yes, I keep finding this in the error logs as well.

  3. tiggsy
    Member
    Posted 3 months ago #

    I also am getting this. I've found a fix for the same bug on a plugin, and that was fixed by changing the BLOB field on the plugin's table to a MEDIUMBLOB. However, I don't know which field it would be, or even if it's the same problem. It seems to be WordPress itself (the bug is in the file http.php), not a plugin.

  4. tiggsy
    Member
    Posted 3 months ago #

    I'm trying this:

    find the function decompress( $compressed, $length = null ) {
    in the file wp-includes/http.php and comment out these lines:

    `$decompressed = gzinflate( $compressed );

    if ( false !== $decompressed )
    return $decompressed;

    $decompressed = gzuncompress( $compressed );

    if ( false !== $decompressed )
    return $decompressed;`

    (you do this by putting /* at the beginning and */ at the end)

    If I don't come back in a week to say it failed, then it worked!!

  5. asuservice
    Member
    Posted 1 week ago #

    Thanks Tiggsy,
    Worked for me at the moment .... will let it run to see if it works over the long haul.

Reply

You must log in to post.

About this Topic

Tags