[wp-trac] [WordPress Trac] #19945: Bug in ../wp-includes/widgets.php

WordPress Trac wp-trac at lists.automattic.com
Thu Feb 2 14:45:24 UTC 2012


#19945: Bug in ../wp-includes/widgets.php
--------------------------+------------------------------
 Reporter:  Barti112      |       Owner:  Barti112
     Type:  defect (bug)  |      Status:  new
 Priority:  normal        |   Milestone:  Awaiting Review
Component:  Widgets       |     Version:  3.3.1
 Severity:  normal        |  Resolution:
 Keywords:                |
--------------------------+------------------------------

Comment (by Barti112):

 Here you see a var_dump before the Line 777 of the file "widgets.php":

 array(1) { ["id_base"]=> string(5) "pages" }[[BR]]
 array(1) { ["id_base"]=> string(8) "calendar" }[[BR]]
 array(1) { ["id_base"]=> string(8) "archives" }[[BR]]
 array(1) { ["id_base"]=> string(5) "links" }[[BR]]
 array(1) { ["id_base"]=> string(4) "meta" }[[BR]]
 array(3) { ["id_base"]=> string(4) "text" ["width"]=> int(400)
 ["height"]=> int(350) }[[BR]]
 array(1) { ["id_base"]=> string(10) "categories" }[[BR]]
 array(1) { ["id_base"]=> string(12) "recent-posts" }[[BR]]
 array(1) { ["id_base"]=> string(15) "recent-comments" }[[BR]]
 array(3) { ["id_base"]=> string(3) "rss" ["width"]=> int(400) ["height"]=>
 int(200) }[[BR]]
 array(1) { ["id_base"]=> string(8) "nav_menu" }[[BR]]
 array(1) { ["id_base"]=> string(20) "arras_tabbed_sidebar" }[[BR]]
 array(1) { ["id_base"]=> string(22) "arras_featured_stories" }[[BR]]
 NULL[[BR]]

 Warning: array_merge() [function.array-merge]: Argument #2 is not an array
 in /homepages/16/d266165857/htdocs/wsb5144855001/akademie/wp-
 includes/widgets.php on line 781[[BR]]
 array(1) { ["id_base"]=> string(6) "search" }[[BR]]
 array(1) { ["id_base"]=> string(17) "wpcalendargrouped" }[[BR]]
 array(1) { ["id_base"]=> string(16) "wpcalendarsimple" }[[BR]]

 Perhaps it is a widget of a Plugin, but the general code does not break
 with an error/warning if there is a bug.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/19945#comment:2>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list