Title: Foreach
Last modified: August 20, 2016

---

# Foreach

 *  [jeansuhas](https://wordpress.org/support/users/jeansuhas/)
 * (@jeansuhas)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/foreach/)
 * Hi,
 * I am running WP with multisite install. Everytime I open for the first time a
   site, i have this error message:
 * > Warning: Invalid argument supplied for foreach() in /home/jeansuhas/domains/
   > disrupto.org/public_html/wp-includes/query.php on line 1689
 * And then if I open the quoted site a second time, It is working well!
 * This is the line 1689: `foreach ( $GLOBALS['wp_taxonomies'] as $taxonomy => $
   t ) {`
 * What do you think

Viewing 1 replies (of 1 total)

 *  [Equal](https://wordpress.org/support/users/equalmark/)
 * (@equalmark)
 * [14 years, 10 months ago](https://wordpress.org/support/topic/foreach/#post-2209704)
 * Have you tried dialling plugins to see if that fixes things? Another thing to
   try to find what the problem is, is to revert to the default theme and see if
   the problem still happens.

Viewing 1 replies (of 1 total)

The topic ‘Foreach’ is closed to new replies.

## Tags

 * [foreach](https://wordpress.org/support/topic-tag/foreach/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [Equal](https://wordpress.org/support/users/equalmark/)
 * Last activity: [14 years, 10 months ago](https://wordpress.org/support/topic/foreach/#post-2209704)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
