#31339 closed defect (bug) (worksforme)
Recursion error in json_encode() when accessing Customizer
Reported by: | thegaer | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 4.1 |
Component: | Customize | Keywords: | |
Focuses: | Cc: |
Description
I have updated my site to latest wordpress version 4.1 .When i tried to customize my theme it is generating error.
Warning</b>: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: recursion detected in <b>/var/sites/t/thegaer.org.uk/public_html/wp-includes/functions.php</b> on line <b>2663</b><br />
<br />
<b>Warning</b>: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: recursion detected in <b>/var/sites/t/thegaer.org.uk/public_html/wp-includes/functions.php</b> on line <b>2663</b><br />
<br />
<b>Warning</b>: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: recursion detected in <b>/var/sites/t/thegaer.org.uk/public_html/wp-includes/functions.php</b> on line <b>2663</b><br />
<br />
<b>Warning</b>: json_encode() [<a href='function.json-encode'>function.json-encode</a>]: recursion detected in <b>/var/sites/t/thegaer.org.uk/public_html/wp-includes/functions.php</b> on line <b>2663</b><br />
Attachments (1)
Change History (9)
#1
@
10 years ago
- Keywords reporter-feedback close added
What version of PHP is running on your host? The json_encode()
function was introduced in PHP 5.2, and WordPress requires PHP 5.2+.
#2
follow-up:
↓ 5
@
10 years ago
- Keywords close removed
I just noticed the error was regarding recursion and not that json_encode()
is not defined.
It sounds like a plugin or theme may be misbehaving. Does the problem happen with another theme, or with plugins turned off?
#3
@
10 years ago
- Summary changed from Updated Wordpress to 4.1 to Recursion error in json_encode() when accessing Customizer
#5
in reply to:
↑ 2
@
10 years ago
Replying to westonruter:
I just noticed the error was regarding recursion and not that
json_encode()
is not defined.
It sounds like a plugin or theme may be misbehaving. Does the problem happen with another theme, or with plugins turned off?
I am unable to download any plugin to check my php version (not compatible).how do i check my php version.
Please guide me on how to revert the changes and go back to previous version of wordpress.
#6
@
10 years ago
Here's a way you can disable plugins manually: http://www.wpbeginner.com/plugins/how-to-deactivate-all-plugins-when-not-able-to-access-wp-admin/
I suspect this ticket should soon move to support forums and not be in Trac.
Error File