[wp-trac] [WordPress Trac] #27653: "Warning: json_encode(): recursion detected in..." while updating or installing plugin/theme in 3.9 Beta 3

WordPress Trac noreply at wordpress.org
Thu Apr 3 12:50:21 UTC 2014


#27653: "Warning: json_encode(): recursion detected in..." while updating or
installing plugin/theme in 3.9 Beta 3
---------------------------+------------------------------
 Reporter:  hardeepasrani  |       Owner:
     Type:  defect (bug)   |      Status:  new
 Priority:  normal         |   Milestone:  Awaiting Review
Component:  Plugins        |     Version:  trunk
 Severity:  major          |  Resolution:
 Keywords:                 |     Focuses:  performance
---------------------------+------------------------------

Comment (by hardeepasrani):

 '''Line 261 & 405 in 3.9 Beta 3'''

 $options['body']['update_stats'] = json_encode( $extra_stats );
 $url = $http_url = 'http://api.wordpress.org/plugins/update-check/1.1/';

 '''Line 261 & 405 in 3.8'''

 $options['body']['update_stats'] = json_encode( $extra_stats );
 $raw_response = wp_remote_post( $url, $options );

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


More information about the wp-trac mailing list