[resolved] Oenology Warning: Invalid argument supplied for foreach() (4 posts)

  1. sunacademywp
    Posted 3 years ago #

    On new pages I am creating I get this error.

    Warning: Invalid argument supplied for foreach() in /home/content/88/8761288/html/wp-includes/query.php on line 2746

    I cannot publish these pages because the Publish button is not active.

    I did not change anything, I think.

    I expect if re-installed the Oenology theme it might fix it??

    Any ideas please

  2. esmi
    Forum Moderator
    Posted 3 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

  3. sunacademywp
    Posted 3 years ago #

    Thanks for the thought process. I started with the last plugin which was ultra hide comments, deactivated and everything is fine now.

    Thank you

  4. Chip Bennett
    Theme Review Admin
    Posted 3 years ago #

    Great! I was just going to post that I couldn't recreate the problem. I'm glad you were able to trace it back to the problematic Plugin.

    Thanks for using Oenology!

    (If you don't mind, could you change the topic status to "resolved", so that I can keep track of unresolved issues? Thanks!)

Topic Closed

This topic has been closed to new replies.

About this Topic