[wp-trac] [WordPress Trac] #43788: Widgets.php Errors

WordPress Trac noreply at wordpress.org
Tue Apr 17 11:22:10 UTC 2018


#43788: Widgets.php Errors
--------------------------+-----------------------------
 Reporter:  mtecuk        |      Owner:  (none)
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Widgets       |    Version:  4.9.5
 Severity:  normal        |   Keywords:  needs-patch
  Focuses:                |
--------------------------+-----------------------------
 Getting some Array errors in widgets.php header output.  Surely this is a
 duplicate, yet can't find anything in existing tickets.  This doesn't
 appear to be a PHP version issue, as I have tested on 5.4 through to 7.2.

 {{{
 <br />
 <b>Warning</b>:  array_merge(): Argument #5 is not an array in <b>../wp-
 includes/widgets.php</b> on line <b>1159</b><br />
 <br />
 <b>Warning</b>:  array_diff(): Argument #2 is not an array in <b>../wp-
 includes/widgets.php</b> on line <b>1160</b><br />
 <br />
 <b>Warning</b>:  Invalid argument supplied for foreach() in <b>../wp-
 includes/widgets.php</b> on line <b>1162</b><br />
 <br />
 <b>Warning</b>:  array_merge(): Argument #1 is not an array in <b>../wp-
 includes/widgets.php</b> on line <b>1170</b><br />
 }}}

-- 
Ticket URL: <https://core.trac.wordpress.org/ticket/43788>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list