[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
Wed Mar 6 13:09:48 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:  reopened
 Priority:  normal        |   Milestone:
Component:  Widgets       |     Version:  4.9
 Severity:  normal        |  Resolution:
 Keywords:  php80 close   |     Focuses:
--------------------------+-----------------------

Comment (by bartnv):

 Just a quick confirmation: I had this problem too and couldn't find the
 source. The line of code @ikriv suggests above worked to solve it for me.

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/57469#comment:12>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list