[wp-trac] [WordPress Trac] #22952: WP_HTTP can cause PHP Warnings during attempted decompression

WordPress Trac noreply at wordpress.org
Tue Sep 29 21:27:26 UTC 2015


#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 kanenas):

 It get this notice in debug bar with '''WordPress 4.3.1''', it appears
 randomly on backend. See a couple examples below:

 Dashboard > Home

 {{{
 WARNING: wp-includes/class-http.php:2136 - gzinflate(): data error
 require_once('wp-admin/admin.php'), do_action('admin_init'),
 call_user_func_array, _maybe_update_plugins, wp_update_plugins,
 set_site_transient,
 apply_filters('pre_set_site_transient_update_plugins'),
 call_user_func_array, KM_UpdatesV3->set_update_transient,
 KM_UpdatesV3->_check_updates, KM_UpdatesV3->sendApiRequest,
 wp_remote_post, WP_Http->post, WP_Http->request,
 WP_Http->_dispatch_request, WP_Http_Curl->request,
 WP_Http_Encoding::decompress, gzinflate
 }}}

 Dashboard > Updates

 {{{
 WARNING: wp-includes/class-http.php:2136 - gzinflate(): data error
 require_once('wp-admin/admin.php'), do_action('load-update-core.php'),
 call_user_func_array, wp_update_plugins, set_site_transient,
 apply_filters('pre_set_site_transient_update_plugins'),
 call_user_func_array, KM_UpdatesV3->set_update_transient,
 KM_UpdatesV3->_check_updates, KM_UpdatesV3->sendApiRequest,
 wp_remote_post, WP_Http->post, WP_Http->request,
 WP_Http->_dispatch_request, WP_Http_Curl->request,
 WP_Http_Encoding::decompress, gzinflate
 }}}

 How do I check if gzip decompression is disabled on my server? I am on
 shared hosting environment.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/22952#comment:24>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list