Title: wp 3.7 update problem
Last modified: August 21, 2016

---

# wp 3.7 update problem

 *  Resolved [alearango](https://wordpress.org/support/users/alearango/)
 * (@alearango)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/)
 * Good morning all. Last night I upgraded my wp to the 3.7 version and I`m getting
   the following errors:
 * – All the pages in my site are the same (To the main page)
    – I get the following
   message: “Warning: Invalid argument supplied for foreach() in /home/content/03/
   11900303/html/wp-includes/class-wp.php on line 266” – When I open a pop up window
   I get the following: “Warning: Invalid argument supplied for foreach() in /home/
   content/03/11900303/html/wp-includes/class-wp.php on line 266
 * Warning: Cannot modify header information – headers already sent by (output started
   at /home/content/03/11900303/html/wp-includes/class-wp.php:266) in /home/content/
   03/11900303/html/wp-includes/pluggable.php on line 899″
 * my site is [http://trabajosenfrancia.com](http://trabajosenfrancia.com)
 * My server is godaddy – Linux
 * What can I do? I have already searched around, I`ve reinstalled the theme and
   all the plugins (I even deleted and installed them again)
 * Thanks for the help

Viewing 10 replies - 1 through 10 (of 10 total)

 *  Thread Starter [alearango](https://wordpress.org/support/users/alearango/)
 * (@alearango)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4260758)
 * The messages are now fixed, but still all the pages are the same
 *  Thread Starter [alearango](https://wordpress.org/support/users/alearango/)
 * (@alearango)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4260840)
 * I`m opening another post in the right topic
 *  [josefsp](https://wordpress.org/support/users/josefsp/)
 * (@josefsp)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4260860)
 * I am getting the exact same problem since I updated to wordpress 3.7 on my blog
   [Apartamentos Sierra Nevada](http://sierranevada-apartamentos.es).
 * What I get on top of the home page is: Warning: Invalid argument supplied for
   foreach() in /home/snapartamentos/sierranevada-apartamentos.es/wp-includes/class-
   wp.php on line 266
 *  [Franxisco Flores](https://wordpress.org/support/users/pacox/)
 * (@pacox)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4260879)
 * what i did was: i returned to the 3.6.1 version, then i upgraded to 3.7 again,
   and that error disapeer
 *  [josefsp](https://wordpress.org/support/users/josefsp/)
 * (@josefsp)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4261007)
 * The best and easiest solution I’ve found so far is comenting the mentioned line
   266, so it’s like it doesn’t exist and the problem goes away. I’ve checked the
   entired blog and everything looks normal. Otherwise if you want to waste some
   time you can downgrade to previous version of wordpress.
 * You can check both my blogs ([Casas Rurales en Granada](http://www.casa-rural-granada.es)
   and [Boat Charter Ibiza](http://www.charteralia.com/en/) ) and see for yourselves
   that the warning line is gone from the top of the home page.
 * 🙂
 *  [ramesh tiwari](https://wordpress.org/support/users/ramesh-tiwari/)
 * (@ramesh-tiwari)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4261043)
 * Hey josefsp,
    Please i have same problem my client is very angry on me. i got
   smae thing When I open a pop up window I get the following:
 *  [ramesh tiwari](https://wordpress.org/support/users/ramesh-tiwari/)
 * (@ramesh-tiwari)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4261044)
 * HI alearango,
 * Have u got solution please share with me
 *  [Sophie0503](https://wordpress.org/support/users/sophie0503/)
 * (@sophie0503)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4261046)
 * Hello,
 * I have been experiencing some issues with the 3.7 update, as well.
 * Most annoying is that since the update, I am having issues with the visual editor
   when adding content to my site. Particularly when adding images – which, prior
   to the recent update was a very simple process. Now, when I add an image to a
   post, the image does not appear in the visual editor. Instead there is a large
   block of light blue at the top of the page above the body copy. The image does
   appear in the text editor and on the site, but any revisions to the alignment
   or caption of the image can only be done in the text editor. this is a major 
   pain for me, as I am not adept at HTML code.
 * Any advice would be greatly appreciated … thanks!
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4261047)
 * [@sophie0503](https://wordpress.org/support/users/sophie0503/) – that’s a known
   bug – see:
 * [http://wordpress.org/support/topic/problem-with-image-captions-after-37-upgrade?replies=80](http://wordpress.org/support/topic/problem-with-image-captions-after-37-upgrade?replies=80)
 *  [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * (@wpyogi)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4261048)
 * **[@ramesh](https://wordpress.org/support/users/ramesh/) tiwari** – if you need
   more help, please start your own thread – as this one is marked resolved already.
   You can start a new one here:
 * [http://wordpress.org/support/forum/how-to-and-troubleshooting#postform](http://wordpress.org/support/forum/how-to-and-troubleshooting#postform)

Viewing 10 replies - 1 through 10 (of 10 total)

The topic ‘wp 3.7 update problem’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 10 replies
 * 6 participants
 * Last reply from: [WPyogi](https://wordpress.org/support/users/wpyogi/)
 * Last activity: [12 years, 7 months ago](https://wordpress.org/support/topic/wp-37-update-problem/#post-4261048)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
