Title: Illegal string offset
Last modified: June 8, 2018

---

# Illegal string offset

 *  Resolved [vd.roset](https://wordpress.org/support/users/vdroset/)
 * (@vdroset)
 * [8 years ago](https://wordpress.org/support/topic/illegal-string-offset-43/)
 * Hello. I write here just to report a bug which is visible on pages using simple-
   social-buttons plugin with the newest 4.9.6 wordpress and php7.:
 * Warning: Illegal string offset ‘icon_selection’ /wp-content/plugins/simple-social-
   buttons/simple-social-buttons.php on line 122
    Warning: Illegal string offset‘
   icon_style’ in wp-content/plugins/simple-social-buttons/simple-social-buttons.
   php on line 127 Warning: Illegal string offset ‘position’ in wp-content/plugins/
   simple-social-buttons/simple-social-buttons.php on line 133
 * To solve it I just changed array calls to object calls ($networks[‘icon_selection’]
   to $networks->icon_selection) and it works. But it ment customizing your plugin
   localy. I would like to be able to update in the future 🙂

Viewing 1 replies (of 1 total)

 *  [Sharaz Shahid](https://wordpress.org/support/users/sharaz/)
 * (@sharaz)
 * [7 years, 12 months ago](https://wordpress.org/support/topic/illegal-string-offset-43/#post-10389772)
 * ok i will check it.

Viewing 1 replies (of 1 total)

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

 * ![](https://ps.w.org/simple-social-buttons/assets/icon-256x256.png?rev=2439696)
 * [Simple Social Media Share Buttons - Social Sharing for Everyone](https://wordpress.org/plugins/simple-social-buttons/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/simple-social-buttons/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/simple-social-buttons/)
 * [Active Topics](https://wordpress.org/support/plugin/simple-social-buttons/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/simple-social-buttons/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/simple-social-buttons/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Sharaz Shahid](https://wordpress.org/support/users/sharaz/)
 * Last activity: [7 years, 12 months ago](https://wordpress.org/support/topic/illegal-string-offset-43/#post-10389772)
 * Status: resolved