Title: fatal and mysql_error issues, illegal offset type, array
Last modified: August 19, 2016

---

# fatal and mysql_error issues, illegal offset type, array

 *  [sledgehammer](https://wordpress.org/support/users/sledgehammer/)
 * (@sledgehammer)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/fatal-and-mysql_error-issues-illegal-offset-type-array/)
 * I am getting some code errors on a site that was working fine several months 
   ago, now is giving me fatal and mysql errors, illegal offset type and array issues.
   It was doing it before I upgraded to 3.1.1. I also upgraded to the latest versions
   of the plug ins I was using. I am at a loss on how to fix this:
 * `Fatal error: Cannot use object of type WP_Object_Cache as array in /home2/bestlcic/
   public_html/wp-includes/cache.php on line 350`
 * `Catchable fatal error: Object of class stdClass could not be converted to string
   in /home2/bestlcic/public_html/wp-includes/user.php on line 1100`
 * `Warning: mysql_error(): supplied argument is not a valid MySQL-Link resource
   in /home2/bestlcic/public_html/wp-includes/wp-db.php on line 1100`
 * `Fatal error: Cannot use object of type wpdb as array in /home2/bestlcic/public_html/
   wp-includes/wp-db.php on line 1318`
 * `Warning: Illegal offset type in isset or empty in /home2/bestlcic/public_html/
   wp-includes/widgets.php on line 866`

Viewing 1 replies (of 1 total)

 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [15 years, 2 months ago](https://wordpress.org/support/topic/fatal-and-mysql_error-issues-illegal-offset-type-array/#post-2028638)
 * Have you tried:
 * – deactivating **all** plugins to see if this resolves the problem. If this works,
   re-activate the plugins one by one until you find the problematic plugin(s).
 * – switching to the Twenty Ten theme to rule out any theme-specific problems.
 * – [resetting the plugins folder](http://codex.wordpress.org/FAQ_Troubleshooting#How_to_deactivate_all_plugins_when_not_able_to_access_the_administrative_menus.3F)
   by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause
   problems.

Viewing 1 replies (of 1 total)

The topic ‘fatal and mysql_error issues, illegal offset type, array’ is closed to
new replies.

## Tags

 * [array](https://wordpress.org/support/topic-tag/array/)
 * [illegal offset type](https://wordpress.org/support/topic-tag/illegal-offset-type/)

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 1 reply
 * 2 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [15 years, 2 months ago](https://wordpress.org/support/topic/fatal-and-mysql_error-issues-illegal-offset-type-array/#post-2028638)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
