Make WordPress Core

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#31339 closed defect (bug) (worksforme)

Recursion error in json_encode() when accessing Customizer

Reported by: thegaer's profile 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)

ticket.docx (138.6 KB) - added by thegaer 10 years ago.
Error File

Download all attachments as: .zip

Change History (9)

@thegaer
10 years ago

Error File

#1 @westonruter
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: @westonruter
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 @westonruter
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 @thegaer
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 @westonruter
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.

#7 @thegaer
10 years ago

  • Keywords reporter-feedback removed
  • Resolution set to worksforme
  • Status changed from new to closed

#8 @ocean90
10 years ago

  • Milestone Awaiting Review deleted
Note: See TracTickets for help on using tickets.