Attempt to read property “title” on null for widgets in Customizer
-
When in customizer preview, WP produces a PHP Warning:
Attempt to read property “title” on null in /home/…/wp-includes/class-wp-customize-widgets.php on line 899
To avoid this you can add widgets support for customizer to Arke (in functions.php of your child theme).
/** Add widgets support for Customizer **/ if( is_customize_preview() && ! current_theme_supports( 'widgets' ) ) { add_theme_support( 'widgets' ); }
Viewing 5 replies - 1 through 5 (of 5 total)
Viewing 5 replies - 1 through 5 (of 5 total)
- The topic ‘Attempt to read property “title” on null for widgets in Customizer’ is closed to new replies.