[wp-trac] [WordPress Trac] #57469: retrieve_widgets(): fatal error when a sidebar's widgets set to null (array is expected)
WordPress Trac
noreply at wordpress.org
Tue Jan 23 09:31:03 UTC 2024
#57469: retrieve_widgets(): fatal error when a sidebar's widgets set to null (array
is expected)
--------------------------+----------------------
Reporter: kesselb | Owner: (none)
Type: defect (bug) | Status: closed
Priority: normal | Milestone:
Component: Widgets | Version: 4.9
Severity: normal | Resolution: invalid
Keywords: php80 close | Focuses:
--------------------------+----------------------
Comment (by janthiel):
Deleting the "theme_mods_twentytwentyfour" option from the DB made the
site useable again.
This was the content of that option:
{{{
a:3:{i:0;b:0;s:18:"nav_menu_locations";a:0:{}s:19:"wp_classic_sidebars";a:6:{s:13:"av_everywhere";a:11:{s:4:"name";s:20:"Displayed
Everywhere";s:2:"id";s:13:"av_everywhere";s:11:"description";s:0:"";s:5:"class";s:0:"";s:13:"before_widget";s:48:"<section
id="%1$s" class="widget clearfix %2$s">";s:12:"after_widget";s:59:"<span
class="seperator extralight-
border"></span></section>";s:12:"before_title";s:24:"<h3
class="widgettitle">";s:11:"after_title";s:5:"</h3>";s:14:"before_sidebar";s:0:"";s:13:"after_sidebar";s:0:"";s:12:"show_in_rest";b:0;}s:7:"av_blog";a:11:{s:4:"name";s:12:"Sidebar
Blog";s:2:"id";s:7:"av_blog";s:11:"description";s:0:"";s:5:"class";s:0:"";s:13:"before_widget";s:48:"<section
id="%1$s" class="widget clearfix %2$s">";s:12:"after_widget";s:59:"<span
class="seperator extralight-
border"></span></section>";s:12:"before_title";s:24:"<h3
class="widgettitle">";s:11:"after_title";s:5:"</h3>";s:14:"before_sidebar";s:0:"";s:13:"after_sidebar";s:0:"";s:12:"show_in_rest";b:0;}s:8:"av_pages";a:11:{s:4:"name";s:13:"Sidebar
Pages";s:2:"id";s:8:"av_pages";s:11:"description";s:0:"";s:5:"class";s:0:"";s:13:"before_widget";s:48:"<section
id="%1$s" class="widget clearfix %2$s">";s:12:"after_widget";s:59:"<span
class="seperator extralight-
border"></span></section>";s:12:"before_title";s:24:"<h3
class="widgettitle">";s:11:"after_title";s:5:"</h3>";s:14:"before_sidebar";s:0:"";s:13:"after_sidebar";s:0:"";s:12:"show_in_rest";b:0;}s:11:"av_footer_1";a:11:{s:4:"name";s:17:"Footer
- Column
1";s:2:"id";s:11:"av_footer_1";s:11:"description";s:0:"";s:5:"class";s:0:"";s:13:"before_widget";s:48:"<section
id="%1$s" class="widget clearfix %2$s">";s:12:"after_widget";s:59:"<span
class="seperator extralight-
border"></span></section>";s:12:"before_title";s:24:"<h3
class="widgettitle">";s:11:"after_title";s:5:"</h3>";s:14:"before_sidebar";s:0:"";s:13:"after_sidebar";s:0:"";s:12:"show_in_rest";b:0;}s:11:"av_footer_2";a:11:{s:4:"name";s:17:"Footer
- Column
2";s:2:"id";s:11:"av_footer_2";s:11:"description";s:0:"";s:5:"class";s:0:"";s:13:"before_widget";s:48:"<section
id="%1$s" class="widget clearfix %2$s">";s:12:"after_widget";s:59:"<span
class="seperator extralight-
border"></span></section>";s:12:"before_title";s:24:"<h3
class="widgettitle">";s:11:"after_title";s:5:"</h3>";s:14:"before_sidebar";s:0:"";s:13:"after_sidebar";s:0:"";s:12:"show_in_rest";b:0;}s:11:"av_footer_3";a:11:{s:4:"name";s:17:"Footer
- Column
3";s:2:"id";s:11:"av_footer_3";s:11:"description";s:0:"";s:5:"class";s:0:"";s:13:"before_widget";s:48:"<section
id="%1$s" class="widget clearfix %2$s">";s:12:"after_widget";s:59:"<span
class="seperator extralight-
border"></span></section>";s:12:"before_title";s:24:"<h3
class="widgettitle">";s:11:"after_title";s:5:"</h3>";s:14:"before_sidebar";s:0:"";s:13:"after_sidebar";s:0:"";s:12:"show_in_rest";b:0;}}}
}}}
--
Ticket URL: <https://core.trac.wordpress.org/ticket/57469#comment:10>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list