[wp-trac] [WordPress Trac] #58351: PHP Fatal error: Uncaught TypeError: array_merge()

WordPress Trac noreply at wordpress.org
Fri May 19 02:52:12 UTC 2023


#58351: PHP Fatal error:  Uncaught TypeError: array_merge()
--------------------------+------------------------------
 Reporter:  lenasterg     |       Owner:  (none)
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:
 Severity:  normal        |  Resolution:
 Keywords:  php80         |     Focuses:
--------------------------+------------------------------

Comment (by jrf):

 Thanks @lenasterg for reporting this.

 While your proposal fixes the ''immediate'' issue, it doesn't address the
 ''actual'' issue, which is "how did that `null` value get in the
 `$sidebar_widgets` array ?"

 I think this needs a little deeper investigation and backtracing to figure
 out what is really going on.

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


More information about the wp-trac mailing list