- This topic has 5 replies, 2 voices, and was last updated 5 years, 9 months ago by .
- The forum ‘General Discussion’ is closed to new topics and replies.
These forums are for general discussion on WordPress and Genesis. Official support for StudioPress themes is offered exclusively at My StudioPress. Responses in this forum are not guaranteed. Please note that this forum will require a new username, separate from the one used for My.StudioPress.
Please help, I'm a bit stuck...
When I go to a post page, this warning comes up all over it:
Warning: Illegal offset type in isset or empty in /var/sites/b/barking.london/public_html/wp-includes/nav-menu-template.php on line 302
Genesis is up to date and so is WordPress.
I'm using News Pro 3.0.2 - the latest on SP website is 3.2.2 - but as I understand I shouldn't update the child theme or should I? (I don't even know how to)
Any suggestions? I don't want to just hide it...
There's not enough detail in your post to accurately provide an answer. The error you see is coming from WordPress as it attempts to create your menu. This shouldn't have anything to do with Genesis or the News Pro theme. The only think I can suggest is to enable WordPress debug and view the trace stack to see where the error is originating.
Does anybody else have a view on this?
It wasn't happening before...
Thanks, but I think it is the theme Genesis/child - the I reason I believe so is because this wasn't happening before and happened with an update
The easiest way to test is to change to a default WordPress template. If the error goes away, then turn on WordPress debug so you can get idea of the execution stack and what is causing the error. As an FYI, Genesis just calls the WordPress navigation functions. It doesn't create navigation functions of its own.
© 2023 WPEngine, Inc.