[Support request] Error – Invalid argument supplied for foreach

Home Forums Support [Support request] Error – Invalid argument supplied for foreach

Home Forums Support Error – Invalid argument supplied for foreach

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #693564
    Remez Sasson

    I have an error log in WordPress that keep repeating the same error. I don’t know if has to do with WordPress or Generatepress. This is the error:

    “PHP Warning: Invalid argument supplied for foreach() in /home/—/public_html/blog/wp-includes/rest-api/endpoints/class-wp-rest-controller.php on line 292”

    How can I fix it?

    Thank you,

    GeneratePress 2.1.4
    GP Premium 1.7.2
    #693576
    Leo
    Staff
    Customer Support

    Hi there,

    That doesn’t look like a GP error.

    Can you try #1 here to eliminate any plugin conflicts first?
    https://docs.generatepress.com/article/debugging-tips/

    If that doesn’t help, try #4 in the same article.

    Let me know 🙂

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