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

WordPress Trac noreply at wordpress.org
Mon Apr 25 11:46:47 UTC 2016


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

 The error is still present in WP 4.5:
 {{{
 Warning: gzinflate(): data error in /wp-includes/class-wp-http-
 encoding.php on line 58
 }}}

 Here is my trace:

 {{{
 ----------------------------------------------------------------
  # Date ::: 2016-04-25 11:42:11
 ----------------------------------------------------------------
 Array
 (
     [0] => Warning: gzinflate(): data error in /wp-includes/class-wp-http-
 encoding.php on line 58
     [1] => Array
         (
             [file] =>
             [line] =>
             [function] => crb_ignore_plugins_errors2
         )

     [2] => Array
         (
             [file] => \wp-includes\class-wp-http-encoding.php
             [line] => 58
             [function] => gzinflate
         )

     [3] => Array
         (
             [file] => \wp-includes\class-wp-http-curl.php
             [line] => 293
             [function] => decompress
         )

     [4] => Array
         (
             [file] => \wp-includes\class-http.php
             [line] => 433
             [function] => request
         )

     [5] => Array
         (
             [file] => \wp-includes\class-http.php
             [line] => 342
             [function] => _dispatch_request
         )

     [6] => Array
         (
             [file] => \wp-includes\http.php
             [line] => 153
             [function] => request
         )

     [7] => Array
         (
             [file] => \wp-content\plugins\jetpack\class.jetpack-client.php
             [line] => 162
             [function] => wp_remote_request
         )

     [8] => Array
         (
             [file] => \wp-content\plugins\jetpack\class.jetpack-client.php
             [line] => 118
             [function] => _wp_remote_request
         )

     [9] => Array
         (
             [file] => \wp-content\plugins\jetpack\class.jetpack-ixr-
 client.php
             [line] => 34
             [function] => remote_request
         )

     [10] => Array
         (
             [file] => \wp-content\plugins\jetpack\class.jetpack.php
             [line] => 5819
             [function] => query
         )

     [11] => Array
         (
             [file] => \wp-content\plugins\jetpack\class.jetpack.php
             [line] => 6072
             [function] => get_cloud_site_options
         )

     [12] => Array
         (
             [file] => \wp-content\plugins\jetpack\class.jetpack-sync.php
             [line] => 173
             [function] => is_staging_site
         )

     [13] => Array
         (
             [file] =>
             [line] =>
             [function] => sync
         )

     [14] => Array
         (
             [file] => \wp-includes\plugin.php
             [line] => 525
             [function] => call_user_func_array
         )

     [15] => Array
         (
             [file] => \wp-includes\load.php
             [line] => 638
             [function] => do_action
         )

     [16] => Array
         (
             [file] =>
             [line] =>
             [function] => shutdown_action_hook
         )

 )
 }}}

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


More information about the wp-trac mailing list