Warning!

by 7 replies
8
Okay so I'm happily pluggin along in my wordpress backend - and all of a sudden I start getting an error.

Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669
Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669

That's what I got. This is what's in the PHP file on that line

foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $t ) {
if ( 'post_tag' == $taxonomy )
continue; // Handled further down in the $q['tag'] block


Anyone know what happened?
#programming #warning
  • Were you editing your functions.php file? if so, make sure you do not have any extra spaces.
    • [1] reply
    • No, the only thing I did was deleted a plug in from my FTP space.
  • Grrrr updating didn't help.

    Crap. It's showing on my site design as well
  • Did the plug-in have taxonomies involved in it?
    Did you make sure the plug-in was in-installed and not active before you deleted it?

    WordPress is trying to load the taxonomies and something messed up the array.
    A deleted plug-in that was installed yet could probably do that.

    If this is the case, put the plug-in files back and un-install it first, then delete it.
    • [1] reply

    • I think that's the problem - but I've reinstalled and activated the plugin, then deactivated it and deleted it. Still have the same issue.
  • Ahhh I found it. Duh - I should have clicked that little ! in my left corner the whole time. It was a plugin I installed called "Site Slideshow" that was giving the problem. Praise the PHP Gods it's back to normal!

    Whew!
  • Well, you can try a couple things not so technical.
    Switch themes, see if that helps.
    Un-install plug-ins one at a time until you find the issue.

    Or get into the code and do some debugging.
    Your choice


    EDIT: Glad to see you got it worked out

Next Topics on Trending Feed

  • 8

    Okay so I'm happily pluggin along in my wordpress backend - and all of a sudden I start getting an error. Warning: Invalid argument supplied for foreach() in /home/content/n/i/c/username/html/wp-includes/query.php on line 1669