[wp-trac] [WordPress Trac] #31703: Trying to get property of non-object in nav-menu.php

WordPress Trac noreply at wordpress.org
Fri Mar 20 07:12:16 UTC 2015


#31703: Trying to get property of non-object in nav-menu.php
---------------------------+-----------------------------
 Reporter:  mehulkaklotar  |      Owner:
     Type:  defect (bug)   |     Status:  new
 Priority:  normal         |  Milestone:  Awaiting Review
Component:  Menus          |    Version:  trunk
 Severity:  normal         |   Keywords:
  Focuses:                 |
---------------------------+-----------------------------
 Every time when I refresh my site, I have this PHP error : "Trying to get
 property of non-object" in wp-includes/nav-menu.php in line no:665. If I
 have something in menu that has no post titles set for that nav object
 then the code should check that it is set or not.

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


More information about the wp-trac mailing list