Title: Cannot use string offset as an array in capabilities.php on line 115
Last modified: August 19, 2016

---

# Cannot use string offset as an array in capabilities.php on line 115

 *  [msolution](https://wordpress.org/support/users/msolution/)
 * (@msolution)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-in-capabilitiesphp-on-line-115/)
 * “Cannot use string offset as an array in wp-includes/capabilities.php on line
   115”
 * after an hour of hacking the culprit seems to be get_option();
 * get_option in a multisite does not seem to be working too good.
    any array given
   to it, it will not unserialize. ( value assigned as array )
 * the function update_option/ add_option clearly state, it will serialize itself
   if need be. and it works good on the main site (even with multisite enabled.)
 * 1. create 2 WPMU sites, get to the “backend” of the first, then from the sites
   list, goto the second. it generates an error.
 * 2. create a site, deleting it, will create the same error.
 * 3. get into a WPMU sub site, activate it and update settings which uses update_option(
   assigned as an array ). what comes back in the form with get_option is a serialized
   string,
 * any tips?
 * M.

Viewing 1 replies (of 1 total)

 *  [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * (@andrea_r)
 * [15 years, 7 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-in-capabilitiesphp-on-line-115/#post-1749704)
 * What plugins are you running?
 * Becasue on a brand-new install I can’t recreate it.
 * Are you messing with the settings under Edit Site?

Viewing 1 replies (of 1 total)

The topic ‘Cannot use string offset as an array in capabilities.php on line 115’
is closed to new replies.

## Tags

 * [Get_Option](https://wordpress.org/support/topic-tag/get_option/)
 * [wpmu](https://wordpress.org/support/topic-tag/wpmu/)

 * In: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
 * 1 reply
 * 2 participants
 * Last reply from: [Andrea Rennick](https://wordpress.org/support/users/andrea_r/)
 * Last activity: [15 years, 7 months ago](https://wordpress.org/support/topic/cannot-use-string-offset-as-an-array-in-capabilitiesphp-on-line-115/#post-1749704)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
