Hi, im running wordpress 3.4.2 and
I currently ran into this problem:
I added a second wp_nav_menu(); in my header; to create a mobile phone menu. Everything works fine in the visual side, but when i turn on
I get PHP notices:
[19-Nov-2012 09:05:10 UTC] PHP Notice: Trying to get property of non-object in /var/www/wp-includes/nav-menu.php on line 592
On my Apache2 Error log, there are even Errors which overload my log files -.-
When I google this problem with this string;
Trying to get property of non-object in /wp-includes/nav-menu.php on line 592
it seems to be a common problem; but nobody wants / needs to fix it ?
So however, I could nail the problem down to my call to
'container' => '',
'menu_class' => 'tinymenu',
'echo' => true,
'before' => '',
'after' => '',
'link_before' => '',
'link_after' => '',
'depth' => 0,
'exclude' => '290, 293, 282, 286',
'walker' => new Roots_Nav_Walker())
But even without any parameters (only wp_nav_menu) leads to this PHP notice, and I want to fix it, because it burries me.
Hope you can help me.
with kind regards