7 replies
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?
#warning
  • Profile picture of the author brag
    Were you editing your functions.php file? if so, make sure you do not have any extra spaces.
    Signature

    Web Developer.

    {{ DiscussionBoard.errors[3747924].message }}
    • Profile picture of the author ReikiGirl
      Originally Posted by brag View Post

      Were you editing your functions.php file? if so, make sure you do not have any extra spaces.
      No, the only thing I did was deleted a plug in from my FTP space.
      {{ DiscussionBoard.errors[3747970].message }}
  • Profile picture of the author ReikiGirl
    Grrrr updating didn't help.

    Crap. It's showing on my site design as well
    {{ DiscussionBoard.errors[3748016].message }}
  • Profile picture of the author phpbbxpert
    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.
    {{ DiscussionBoard.errors[3748362].message }}
    • Profile picture of the author ReikiGirl
      Originally Posted by phpbbxpert View Post

      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.

      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.
      {{ DiscussionBoard.errors[3748398].message }}
  • Profile picture of the author ReikiGirl
    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!
    {{ DiscussionBoard.errors[3748426].message }}
  • Profile picture of the author phpbbxpert
    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
    {{ DiscussionBoard.errors[3748472].message }}

Trending Topics