WordPress.org

Support

Support » Plugins and Hacks » Latest Tweets Widget » Disable compression/expansion – data error

Disable compression/expansion – data error

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author timwhitlock

    @timwhitlock

    This plugin uses WordPress’s built-in HTTP library, which is where that error is coming from. For reference: https://github.com/timwhitlock/wp-twitter-api/blob/master/lib/twitter-api-core.php#L368

    I don’t know anything about the internals of WordPress’s http library, but looking at line 1806, they are clearly suppressing an error they expect is likely to fail with @gzinflate( ...

    The only way I can think to fix this is to send specific http headers asking the Twitter servers not to compress the response. I’d have to provide a filter for you to alter the http call, because I wouldn’t want to disable it for everyone, especially as this is the first time I’ve heard this and also it’s a suppressed error.

    Plugin Author timwhitlock

    @timwhitlock

    Have you resolved this issue?

    Hi,

    No I have not but it does not seem to be harming anything. I was concerned this might be adding to my excessive CPU usage issues but this was not the cause of that. Also the error is now slightly different, it reads:

    WARNING: wp-includes/class-http.php:1963 – gzinflate(): data error

    Thanks

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Disable compression/expansion – data error’ is closed to new replies.
Skip to toolbar