WordPress.org

Make WordPress Core

Opened 7 years ago

Closed 7 years ago

Last modified 7 years ago

#27852 closed defect (bug) (invalid)

As I press Customize: warning 'json_encode(): recursion detected' at /storage/content/

Reported by: tomas.risberg@… Owned by:
Milestone: Priority: normal
Severity: normal Version: 3.9
Component: Customize Keywords:
Focuses: Cc:

Description (last modified by DrewAPicture)

As I press Customize in Word Press 3.9 I recieve the error report enclosed. I have changed theme, and deactivated all my plugins, but nothing changes.

My server is using PHP 5.4.8

Backtrace from warning 'json_encode(): recursion detected' at /public_html/wp-includes/class.wp-scripts.php 170:

    /public_html/wp-includes/class.wp-scripts.php 170 calling json_encode()
    /public_html/wp-includes/functions.wp-scripts.php 123 calling localize()
    /public_html/wp-content/plugins/easy-google-fonts/includes/class-egf-customizer.php 211 calling wp_localize_script()
    calling customize_live_preview_scripts()
    /public_html/wp-includes/plugin.php 470 calling call_user_func_array()
    /public_html/wp-includes/class-wp-customize-manager.php 415 calling do_action()
    /public_html/wp-includes/class-wp-customize-manager.php 345 calling customize_preview_init()
    calling wp_loaded()
    /public_html/wp-includes/plugin.php 470 calling call_user_func_array()
    /public_html/wp-settings.php 373 calling do_action()
    /public_html/wp-config.php 102 calling require_once()
    /public_html/wp-load.php 29 calling require_once()
    /public_html/wp-blog-header.php 12 calling require_once()
    /public_html/index.php 17 calling require()

The error is repeated over and over.

Change History (7)

#1 @DrewAPicture
7 years ago

  • Description modified (diff)

#2 @nacin
7 years ago

  • Milestone changed from Awaiting Review to 3.9.1

Moving to 3.9 for investigation.

#3 @SergeyBiryukov
7 years ago

  • Component changed from General to Appearance

#4 @UmeshSingla
7 years ago

Couldn't replicate the issue on local installation of WordPress 3.9, PHP - 5.5.8. Also in the log I see a plugin /public_html/wp-content/plugins/easy-google-fonts/, Easy Google Fonts.

#5 @tomas.risberg@…
7 years ago

  • Resolution set to invalid
  • Status changed from new to closed

I apologize! I thought I removed all plugins before posting here. Google Easy fonts was updated some hours after the bug report, and then the backtrace report changed a bit - it shows just for a short while. I have now tracked the remaining problem to my use of an html5 modified theme.

#6 @UmeshSingla
7 years ago

  • Version 3.9 deleted

#7 @SergeyBiryukov
7 years ago

  • Milestone 3.9.1 deleted
  • Version set to 3.9
Note: See TracTickets for help on using tickets.