Title: Warning: Illegal string offset
Last modified: August 21, 2016

---

# Warning: Illegal string offset

 *  Resolved [connor17](https://wordpress.org/support/users/connor17/)
 * (@connor17)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-10/)
 * When I’m in my dashboard, I get this warning,
 * Warning: Illegal string offset ‘order’ in /home1/connor17/public_html/wp-content/
   themes/emporium/admin/admin-interface.php on line 1214
 * It’s repeated about 20 times, blocking all of my side tools. Makes it very hard
   to do anything.
 * Does anyone know how I can solve this?
 *  Thank You

Viewing 1 replies (of 1 total)

 *  Thread Starter [connor17](https://wordpress.org/support/users/connor17/)
 * (@connor17)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-10/#post-4984024)
 * Ok I fixed it. In case you are having the same problem, you need to go into that
   file mentioned in the warning. So that end file is called admin-interface.php
 * Code edit it, scroll down to line 1214 that the warning is talking about.
 * You will see
 * $oldorder = $slide[‘order’];
 * Replace it with this:
 * $oldorder = isset($slide[‘order’]) ? $slide[‘order’] : ”;
 * Problem solved. Here’s the part from another forum that fixed it.
 * “The second issue is as follow.
 * Warning: Illegal string offset ‘order’ in /path/wp-content/themes/wp-metric/admin/
   admin-interface.php on line 1155
 * Answer: the reason here is because you are trying to get an array key which does
   not exists on the wp_options from db and on php 5.4+ they are trying to deprecate
   loose key references, i.e., without quotes.
    Fix:
 * #replace
    $oldorder = $slide[‘order’]; #with $oldorder = isset($slide[‘order’])?
   $slide[‘order’] : ”;
 * Now I think it works well with php5.4+ at least as far as I can see :).”

Viewing 1 replies (of 1 total)

The topic ‘Warning: Illegal string offset’ is closed to new replies.

## Tags

 * [home](https://wordpress.org/support/topic-tag/home/)
 * [illegal](https://wordpress.org/support/topic-tag/illegal/)
 * [warning](https://wordpress.org/support/topic-tag/warning/)

 * 1 reply
 * 1 participant
 * Last reply from: [connor17](https://wordpress.org/support/users/connor17/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-10/#post-4984024)
 * Status: resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
