WordPress gzinflate(): data error when debugging

I'm getting the following warning when debugging my plugin with "Debug Bar" plugin.

WARNING: wp-includesclass-http.php:1669 - gzinflate(): data error

I am using wp_remote_post() in the plugin & it is causing the error.

How can I fix that? Any clue ?

Thanks in advance!


You can also use the argument 'decompress' => false and WordPress will set the correct header values for you. Like this:

wp_remote_post( 
    $url, 
    array( 'decompress' => false )
);
链接地址: http://www.djcxy.com/p/73852.html

上一篇: 在Matlab上进行图像去模糊

下一篇: WordPress gzinflate():调试时出现数据错误