Error message: Trying to get property of non-object in /wp-includes/nav-menu.php
-
The menu was working fine until I added a couple of new pages to it today and now it gives me the message:
Trying to get property of non-object in /wp-includes/nav-menu.php
I have no idea how this has occurred.
Chrome dev tools shows the following for this error:
Uncaught TypeError: Cannot read property ‘parentNode’ of undefined setup.js:8
2
Consider using ‘dppx’ units instead of ‘dpi’, as in CSS ‘dpi’ means dots-per-CSS-inch, not dots-per-physical-inch, so does not correspond to the actual ‘dpi’ of a screen. In media query expression: print, not all, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) nav-menus.php?action=edit&menu=14:1
event.returnValue is deprecated. Please use the standard event.preventDefault() instead. load-scripts.php?c=1&load%5B%5D=jquery-core,jquery-migrate,jquery-ui-core,jquery-ui-widget,jquery-u…:4Thanks for any help.
Tess
- The topic ‘Error message: Trying to get property of non-object in /wp-includes/nav-menu.php’ is closed to new replies.