Title: Problems with upgrading
Last modified: August 19, 2016

---

# Problems with upgrading

 *  [stepes](https://wordpress.org/support/users/stepes/)
 * (@stepes)
 * [17 years, 9 months ago](https://wordpress.org/support/topic/problems-with-upgrading/)
 * I had an older version of WP: 2.3.1, and I decided to upgrade to 2.6. But since
   the time I did it, there is an error message when I try to log in
    Warning: Invalid
   argument supplied for foreach() in /var/www/kbx.cz/mentalove/wp-includes/capabilities.
   php on line 31
 * Warning: Cannot modify header information – headers already sent by (output started
   at /var/www/kbx.cz/mentalove/wp-includes/capabilities.php:31) in /var/www/kbx.
   cz/mentalove/wp-includes/pluggable.php on line 595
 * Warning: Cannot modify header information – headers already sent by (output started
   at /var/www/kbx.cz/mentalove/wp-includes/capabilities.php:31) in /var/www/kbx.
   cz/mentalove/wp-includes/pluggable.php on line 596
 * Warning: Cannot modify header information – headers already sent by (output started
   at /var/www/kbx.cz/mentalove/wp-includes/capabilities.php:31) in /var/www/kbx.
   cz/mentalove/wp-includes/pluggable.php on line 597
 * Warning: Cannot modify header information – headers already sent by (output started
   at /var/www/kbx.cz/mentalove/wp-includes/capabilities.php:31) in /var/www/kbx.
   cz/mentalove/wp-includes/pluggable.php on line 770
 *  And another error is when I try to type wp-admin/upgrade.htm: Fatal error: Allowed
   memory size of 8388608 bytes exhausted (tried to allocate 11520 bytes) in /var/
   www/kbx.cz/mentalove/wp-admin/includes/media.php on line 213 . There’s also problem
   with czech diacritical marks. When I try to downgrade back to 2.3.1 the errors
   are still there. And there’s one new:Warning: Invalid argument supplied for foreach()
   in /var/www/kbx.cz/mentalove/wp-includes/capabilities.php on line 31 .
    Now, 
   I don’t know what should I do. Thanks for your help. Website: [mentalove.kbx.cz](http://www.mentalove.kbx.cz)

The topic ‘Problems with upgrading’ is closed to new replies.

 * In: [Installing WordPress](https://wordpress.org/support/forum/installation/)
 * 0 replies
 * 1 participant
 * Last reply from: [stepes](https://wordpress.org/support/users/stepes/)
 * Last activity: [17 years, 9 months ago](https://wordpress.org/support/topic/problems-with-upgrading/)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
