[wp-trac] [WordPress Trac] #26287: Bug when removing a menu when still attached to a location

WordPress Trac noreply at wordpress.org
Wed Nov 27 13:17:48 UTC 2013


#26287: Bug when removing a menu when still attached to a location
-------------------------------+-----------------------------
 Reporter:  nielsvanrenselaar  |      Owner:
     Type:  defect (bug)       |     Status:  new
 Priority:  normal             |  Milestone:  Awaiting Review
Component:  Menus              |    Version:  3.7.1
 Severity:  minor              |   Keywords:
-------------------------------+-----------------------------
 When creating a menu and adding it to a location trough the checkboxes it
 raises an error when this menu get's removed but still is connected to the
 location:

 Notice: Trying to get property of non-object in wp-includes/nav-menu.php
 on line 597 Notice: Trying to get property of non-object in wp-includes
 /nav-menu.php on line 597

 In the menu dropdown there is also "empty" slots with comma's, see it's
 still somewhere in the database.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/26287>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list