[wp-trac] [WordPress Trac] #22952: WP_HTTP can cause PHP Warnings during attempted decompression
WordPress Trac
noreply at wordpress.org
Sun Sep 7 18:19:30 UTC 2014
#22952: WP_HTTP can cause PHP Warnings during attempted decompression
-------------------------------------+-----------------------------
Reporter: dd32 | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Future Release
Component: HTTP API | Version: 3.3
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+-----------------------------
Comment (by GregLone):
I'm still having the issue with WordPress 4.0, but this one is new for me:
{{{
WARNING: wp-includes/class-http.php:2015 - gzinflate()
[function.gzinflate]: data error
require('wp-blog-header.php'), require_once('wp-includes/template-
loader.php'), include('/absolute-path/to/wp-
content/themes/mash/index.php'), get_template_part, locate_template,
load_template, require('/themes/golf/content/content-page.php'),
the_content, apply_filters('the_content'), call_user_func_array,
WP_Embed->autoembed, preg_replace_callback, WP_Embed->autoembed_callback,
WP_Embed->shortcode, wp_oembed_get, WP_oEmbed->get_html, WP_oEmbed->fetch,
WP_oEmbed->_fetch_with_format, wp_safe_remote_get, WP_Http->get,
WP_Http->request, WP_Http->_dispatch_request, WP_Http_Curl->request,
WP_Http_Encoding::decompress, gzinflate
}}}
Which leads to `WP_Http_Encoding::decompress()`.
This whole thing is triggered if I have an embedded tweet in my content,
and if I cleanup the embeds cache
(`$GLOBALS['wp_embed']->delete_oembed_caches( $post_ID );`). Embedded
videos are fine.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/22952#comment:19>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list