Site logo

[Support request] Constant error: Invalid argument supplied for foreach() … navigation.php (377)

Home Forums Support [Support request] Constant error: Invalid argument supplied for foreach() … navigation.php (377)

Home Forums Support Constant error: Invalid argument supplied for foreach() … navigation.php (377)

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #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?

    #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.

Viewing 2 posts - 1 through 2 (of 2 total)
  • You must be logged in to reply to this topic.