Critical error when I try to ‘customise’ regardless of theme
-
I recently updated my blog after probably about a year, and shortly afterwards I had an issue happening with my widgets. I had lots of old style widgets rather than the new ‘blocks’ and Jetpack started throwing errors trying to render them.
I removed all the widgets from my widget area and deactivated some of the Jetpack social widgets.
However, now, regardless of what theme I have set, when I try to ‘customise’ a theme I get a ‘critical error’, and the widgets page in settings says my theme has ‘no widget areas’.
I enabled debug and get the following:
[03-Aug-2021 02:28:57 UTC] PHP Fatal error: Uncaught Error: Cannot unset string offsets in /home/y02zuki/public_html/blog/wp-includes/class-wp-customize-widgets.php:1216
Stack trace:
#0 /home/y02zuki/public_html/blog/wp-includes/class-wp-hook.php(303): WP_Customize_Widgets->preview_sidebars_widgets(”)
#1 /home/y02zuki/public_html/blog/wp-includes/plugin.php(189): WP_Hook->apply_filters(”, Array)
#2 /home/y02zuki/public_html/blog/wp-includes/widgets.php(1035): apply_filters(‘sidebars_widget…’, ”)
#3 /home/y02zuki/public_html/blog/wp-includes/class-wp-customize-widgets.php(379): wp_get_sidebars_widgets()
#4 /home/y02zuki/public_html/blog/wp-includes/class-wp-customize-widgets.php(354): WP_Customize_Widgets->customize_register()
#5 /home/y02zuki/public_html/blog/wp-includes/class-wp-hook.php(303): WP_Customize_Widgets->schedule_customize_register(Object(WP_Customize_Manager))
#6 /home/y02zuki/public_html/blog/wp-includes/class-wp-hook.php(327): WP_Hook->apply_filters(”, Array)
#7 /home/y02zuki/public_html/blog/wp-includes/plugin.php(470): WP_Hook in /home/y02zuki/public_html/blog/wp-includes/class-wp-customize-widgets.php on line 1216I’ve tried reinstalling the current WordPress version, I’ve tried different themes, tried enabling or disabling plugins and Jetpack modules, but nothing has helped.
Can someone help me out with this?
The page I need help with: [log in to see the link]
- The topic ‘Critical error when I try to ‘customise’ regardless of theme’ is closed to new replies.