[wp-trac] [WordPress Trac] #27654: When installing plugins/ update WP: json_encode() recursion detected in update.php on lines 261 and 405
WordPress Trac
noreply at wordpress.org
Thu Apr 3 21:59:39 UTC 2014
#27654: When installing plugins/ update WP: json_encode() recursion detected in
update.php on lines 261 and 405
--------------------------+-----------------------------
Reporter: RTalal | Owner:
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Plugins | Version: trunk
Severity: normal | Resolution: duplicate
Keywords: | Focuses: administration
--------------------------+-----------------------------
Changes (by SergeyBiryukov):
* type: enhancement => defect (bug)
* focuses: => administration
* component: Upgrade/Install => Plugins
Old description:
> When installing plugins (from wp interface), they are installed fine, but
> give warning. Example:
>
> Installing Plugin: WordPress Importer 0.6.1
> Successfully installed the plugin WordPress Importer 0.6.1.
> Warning: json_encode() [function.json-encode]: recursion detected in
> /home/USER/public_html/test/wp-includes/update.php on line 261
> Warning: json_encode() [function.json-encode]: recursion detected in
> /home/USER/public_html/test/wp-includes/update.php on line 405
>
> In my installation (3.9-beta3-27857), line 261 in 3.9-beta3-27857:
> $url = set_url_scheme( $url, 'https' );
> Line 405:
> $raw_response = wp_remote_post( $http_url, $options );
>
> Maybe something has to do with ssl? I was logging in on ssl (https)
> (self-signed, if this matters).
> I logged out and re-logged in with plain (http), but the same warnings
> appeared.
>
> When updating wordpress, I get the same error. As it does not stay for
> long, I took a screenshot for it.
>
> There is a similar warning for those same php lines in:
> #27633 closed enhancement (fixed) , which is about UPRADING plugins or
> themes.
>
> Notes:
> Server:PHP 5.2.17, MySQL 5.5.36, Memory Usage 37,193,072 bytes
>
> Site is right-to-left enabled, Arabic language enabled in wp-config.php,
> but wp language file is not uploaded.
New description:
When installing plugins (from wp interface), they are installed fine, but
give warning. Example:
{{{
Installing Plugin: WordPress Importer 0.6.1
Successfully installed the plugin WordPress Importer 0.6.1.
Warning: json_encode() [function.json-encode]: recursion detected in
/home/USER/public_html/test/wp-includes/update.php on line 261
Warning: json_encode() [function.json-encode]: recursion detected in
/home/USER/public_html/test/wp-includes/update.php on line 405
}}}
In my installation (3.9-beta3-27857), line 261 in 3.9-beta3-27857:
{{{
$url = set_url_scheme( $url, 'https' );
}}}
Line 405:
{{{
$raw_response = wp_remote_post( $http_url, $options );
}}}
Maybe something has to do with ssl? I was logging in on ssl (https) (self-
signed, if this matters).
I logged out and re-logged in with plain (http), but the same warnings
appeared.
When updating wordpress, I get the same error. As it does not stay for
long, I took a screenshot for it.
There is a similar warning for those same php lines in:
#27633 closed enhancement (fixed) , which is about UPRADING plugins or
themes.
Notes:
Server:PHP 5.2.17, MySQL 5.5.36, Memory Usage 37,193,072 bytes
Site is right-to-left enabled, Arabic language enabled in wp-config.php,
but wp language file is not uploaded.
--
--
Ticket URL: <https://core.trac.wordpress.org/ticket/27654#comment:2>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list