Forums

Featured Image Column
[resolved] Invalid argument supplied for foreach() (9 posts)

  1. richardmtl
    Member
    Posted 7 months ago #

    Hi!

    I just updated to the latest version (0.1.5) and I get this at the top of my site (admin and front-end):

    Warning: Invalid argument supplied for foreach() in /home/*****/public_html/wp-includes/query.php on line 1689

    Warning: Invalid argument supplied for foreach() in /home/*****/public_html/wp-includes/query.php on line 1689

    (note: I've replaced my directory with *****)

    The notice appears twice, as above. I have the plugin Network Activated, if that makes a difference.

    I'm willing to help you out with this privately if necessary.

    thanks!

    R

    http://wordpress.org/extend/plugins/featured-image-column/

  2. Austin Passy
    Member
    Posted 7 months ago #

    Damn, though I fixed that. It's an error that shows when there are zero posts in the default post_types.

  3. richardmtl
    Member
    Posted 7 months ago #

    Hm.. I have tons of pages, and exactly 1 post, so I don't know why I'd be getting this error then.. Let me know if I can help you somehow.

    R

  4. Austin Passy
    Member
    Posted 7 months ago #

    Any custom post types?

  5. richardmtl
    Member
    Posted 7 months ago #

    No, no custom post types in my theme, but I have a plugin that has registered one.. maybe that's why?

    Why would it appear twice though? I only have that one plugin that uses them.

    Also, even if I deactivate that plugin, and reactivate Featured Image Column, I still get the error (twice, as before).

  6. Austin Passy
    Member
    Posted 7 months ago #

    I noticed the error was generated twice for one post_type. I'll look into this, but don't quite know where it is being generated from..

  7. richardmtl
    Member
    Posted 7 months ago #

    Is it just me? Or do you get it as well? Anything else I can do to help you?

  8. leisegang
    Member
    Posted 7 months ago #

    Invalid argument supplied for foreach() in wp-includes/query.php on line 1689

    i get this error too. so its not just you!

  9. Austin Passy
    Member
    Posted 2 months ago #

    Latest version fixes the issue.

Reply

You must log in to post.

About this Plugin

About this Topic