Title: Wp 2.2 Upgrade:  Illegal Offset Errors
Last modified: August 18, 2016

---

# Wp 2.2 Upgrade: Illegal Offset Errors

 *  [sgharms](https://wordpress.org/support/users/sgharms/)
 * (@sgharms)
 * [19 years ago](https://wordpress.org/support/topic/wp-22-upgrade-illegal-offset-errors/)
 * As with all WP updates, i install first on my local Powerbook against my local
   wp-content with my own designed themes and see if things look good. This I just
   did with the WP2.2 branch and everything looked good.
 * I then proceeded to install the new version at my hosting provider. The result
   looked like [this](http://stevengharms.com/badinst/).
 * My first thought was that I did something wrong. I proceeded to roll back to 
   backup and then went through the [upgrade process](http://codex.wordpress.org/Upgrading_WordPress)
   again, this time more slowly and more attentively.
 * Same result.
 * Figuring that 3rd time is a charm i started with a blank directory, un-archived
   latest.tar.gz, and then dropped my other directories in….no dice.
 * So I have two data points, one that was successful, the other that failed multiple
   times.
 * The error from the bad install is in my theme sidebar code:
 * `
    Warning: Illegal offset type in /home/steven/public_html/badinst/wp-includes/
   cache.php on line 125
 * Warning: Illegal offset type in /home/steven/public_html/badinst/wp-includes/
   cache.php on line 131
 * Warning: Illegal offset type in /home/steven/public_html/badinst/wp-includes/
   cache.php on line 139
 * Warning: Illegal offset type in /home/steven/public_html/badinst/wp-includes/
   cache.php on line 144
 * Warning: Illegal offset type in /home/steven/public_html/badinst/wp-includes/
   cache.php on line 281
 * Warning: Illegal offset type in unset in /home/steven/public_html/badinst/wp-
   includes/cache.php on line 282
 * Warning: Illegal offset type in /home/steven/public_html/badinst/wp-includes/
   cache.php on line 125
 * Warning: Illegal offset type in /home/steven/public_html/badinst/wp-includes/
   cache.php on line 131
 * .....
 * So I’m definitely thinking that something in cache.php + my host’s web server
   is causing a problem here.
 * They’re running **Apache 1.3.3**
 * and PHP is **PHP 4.3.10 (cli) (built: Jan 12 2005 11:54:18)**
 * I thought that these threads:
    - [Offset errors](http://wordpress.org/support/topic/117949)
    - [Array Errors](http://wordpress.org/support/topic/118367)
 * Might be the way to return back to the land of the living, but neither of those
   threads appear to have reached a conclusion.
 * So, I thought I’d sum up my research here and see if anyone can help. So, uh,
   any help?

Viewing 1 replies (of 1 total)

 *  [wordpressmaniac](https://wordpress.org/support/users/wordpressmaniac/)
 * (@wordpressmaniac)
 * [18 years, 12 months ago](https://wordpress.org/support/topic/wp-22-upgrade-illegal-offset-errors/#post-570016)
 * My sites also blew with all the illegal offset in cache.php error messages after
   the upgrade.
 * In my case upgrading Zend Optimizer (to v3.2.8) solved the problem immediately.
   My PHP is v4.3.11.
 * Good luck.

Viewing 1 replies (of 1 total)

The topic ‘Wp 2.2 Upgrade: Illegal Offset Errors’ is closed to new replies.

## Tags

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

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [wordpressmaniac](https://wordpress.org/support/users/wordpressmaniac/)
 * Last activity: [18 years, 12 months ago](https://wordpress.org/support/topic/wp-22-upgrade-illegal-offset-errors/#post-570016)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
