Title: PHP Error Log &#8211; Illegal string offset &#039;description&#039;
Last modified: August 22, 2016

---

# PHP Error Log – Illegal string offset 'description'

 *  [Gary Gordon](https://wordpress.org/support/users/garymgordon/)
 * (@garymgordon)
 * [11 years, 7 months ago](https://wordpress.org/support/topic/php-error-log-illegal-string-offset-description/)
 * In my PHP Error log, I’m seeing:
 * PHP Warning: Illegal string offset ‘description’ in /home/xxxxxxxx/public_html/
   wp-content/plugins/genesis-simple-sidebars/plugin.php on line 107
 * I was hoping you might be able to modify the plugin to resolve this.
 * Please let me know.
 * Thanks,
    Gary
 * [https://wordpress.org/plugins/genesis-simple-sidebars/](https://wordpress.org/plugins/genesis-simple-sidebars/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  [Victor Font](https://wordpress.org/support/users/vfontj/)
 * (@vfontj)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-error-log-illegal-string-offset-description/#post-5358608)
 * I’m having the same issue after upgrading PHP on my server. The following code
   block is causing the issue:
 *     ```
       genesis_register_sidebar( array(
       			'name'        => esc_html( $info['name'] ),
       			'id'          => $id,
       			'description' => esc_html( $info['description'] ),
       			'editable'    => 1,
       		) );
       ```
   
 * Specifically the name and description lines are causing the warning.
 *  [Victor Font](https://wordpress.org/support/users/vfontj/)
 * (@vfontj)
 * [11 years, 6 months ago](https://wordpress.org/support/topic/php-error-log-illegal-string-offset-description/#post-5358609)
 * Sorry for adding to this post. I didn’t see the resolution already determined
   here: [https://wordpress.org/support/topic/erro-illegal-string-offset?replies=25](https://wordpress.org/support/topic/erro-illegal-string-offset?replies=25).

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Error Log – Illegal string offset 'description'’ is closed to new
replies.

 * ![](https://ps.w.org/genesis-simple-sidebars/assets/icon-256x256.png?rev=1335778)
 * [Genesis Simple Sidebars](https://wordpress.org/plugins/genesis-simple-sidebars/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/genesis-simple-sidebars/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/genesis-simple-sidebars/)
 * [Active Topics](https://wordpress.org/support/plugin/genesis-simple-sidebars/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/genesis-simple-sidebars/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/genesis-simple-sidebars/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Victor Font](https://wordpress.org/support/users/vfontj/)
 * Last activity: [11 years, 6 months ago](https://wordpress.org/support/topic/php-error-log-illegal-string-offset-description/#post-5358609)
 * Status: not resolved