Home › Forums › Support › Constant error: Invalid argument supplied for foreach() … navigation.php (377) This topic has 1 reply, 2 voices, and was last updated 3 years, 9 months ago by Fernando. Viewing 2 posts - 1 through 2 (of 2 total) Author Posts June 28, 2022 at 5:47 pm #2267466 Jesse Here is the full error: PHP Warning: Invalid argument supplied for foreach() in /wp-content/themes/generatepress/inc/structure/navigation.php on line 377 Can you please point me in the right direction? June 28, 2022 at 6:45 pm #2267487 Fernando Customer Support Hi Jesse, Do you have custom code added through Code Snippets, a Hook Element, or functions.php? If so, can you disable/remove them temporarily one by one, and see if one of them is causing the issue. For reference, a similar instance of the occurrence of the issue is this: https://generatepress.com/forums/topic/error-in-log-invalid-argument-supplied-for-foreach/#post-2224503 Kindly let us know how it goes. Author Posts Viewing 2 posts - 1 through 2 (of 2 total) You must be logged in to reply to this topic. Log In Username: Password: Keep me signed in Log In