Title: PHP Warning: Illegal string offset
Last modified: March 14, 2018

---

# PHP Warning: Illegal string offset

 *  Resolved [bedazelive](https://wordpress.org/support/users/bedazelive/)
 * (@bedazelive)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-6/)
 * Hi! So far I’m liking this plugin, but since the last recent update (March 12,
   2018) I’ve been getting this warning in my error_log. I saw you’ve had this issue
   last year and it was quickly solved. Can you help? Thanks!
 * PHP Warning: Illegal string offset ‘googleplus’ in /home4/yoogzyco/public_html/
   wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
 * PHP Warning: Illegal string offset ‘twitter’ in /home4/yoogzyco/public_html/wp-
   content/plugins/simple-social-buttons/inc/utils.php on line 151
 * PHP Warning: Illegal string offset ‘pinterest’ in /home4/yoogzyco/public_html/
   wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
 * PHP Warning: Illegal string offset ‘fbshare’ in /home4/yoogzyco/public_html/wp-
   content/plugins/simple-social-buttons/inc/utils.php on line 151
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fphp-warning-illegal-string-offset-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [Burhan Nasir](https://wordpress.org/support/users/burhandodhy/)
 * (@burhandodhy)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-6/#post-10077445)
 * Hi,
 * I failed to generate this error on my end. Could you please send me the debug
   logs. You will find it in Social Buttons -> Help menu. It will help me to fix
   the issue.
 *  Thread Starter [bedazelive](https://wordpress.org/support/users/bedazelive/)
 * (@bedazelive)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-6/#post-10080613)
 * Sure,
 * This is the latest I got. Hope it helps.
 * text/x-generic debug.log
    ASCII text
 *     ```
       [16-Mar-2018 01:12:38 UTC] PHP Warning:  Illegal string offset 'googleplus' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:38 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:38 UTC] PHP Warning:  Illegal string offset 'twitter' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:38 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:38 UTC] PHP Warning:  Illegal string offset 'pinterest' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:38 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:38 UTC] PHP Warning:  Illegal string offset 'fbshare' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:38 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:52 UTC] PHP Warning:  Illegal string offset 'googleplus' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:52 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:52 UTC] PHP Warning:  Illegal string offset 'twitter' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:52 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:52 UTC] PHP Warning:  Illegal string offset 'pinterest' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:52 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:52 UTC] PHP Warning:  Illegal string offset 'fbshare' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:12:52 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:13:56 UTC] PHP Warning:  Illegal string offset 'googleplus' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:13:56 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:13:56 UTC] PHP Warning:  Illegal string offset 'twitter' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:13:56 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:13:56 UTC] PHP Warning:  Illegal string offset 'pinterest' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:13:56 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:13:56 UTC] PHP Warning:  Illegal string offset 'fbshare' in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       [16-Mar-2018 01:13:56 UTC] PHP Notice:  Uninitialized string offset: 0 in /home4/yoogzyco/public_html/wp-content/plugins/simple-social-buttons/inc/utils.php on line 151
       ```
   
    -  This reply was modified 8 years, 2 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
    -  This reply was modified 8 years, 2 months ago by [Steven Stern (sterndata)](https://wordpress.org/support/users/sterndata/).
 *  Thread Starter [bedazelive](https://wordpress.org/support/users/bedazelive/)
 * (@bedazelive)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-6/#post-10092517)
 * Sorry, but the issue is still unresolved. I still have the same error and it’s
   happening every day… Sadly I think I’m going to have to deactivate the plugin…
   Is anyone else having the same issue?
 *  [Burhan Nasir](https://wordpress.org/support/users/burhandodhy/)
 * (@burhandodhy)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-6/#post-10093252)
 * Hi,
 * Sorry, the issue is fixed and will release the update in next few hours.
 *  Plugin Author [Adnan](https://wordpress.org/support/users/hiddenpearls/)
 * (@hiddenpearls)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-6/#post-10093659)
 * I just released a new version of Simple Social buttons and this issue has been
   fixed. Please update your plugin and let us know the feedback.
 * Thanks.
 *  [serpentes](https://wordpress.org/support/users/serpentes/)
 * (@serpentes)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-6/#post-10093734)
 * sorry, but you failed…
    the recent update crashed my complete site… had to deaktivate
   it 🙁
 *  Thread Starter [bedazelive](https://wordpress.org/support/users/bedazelive/)
 * (@bedazelive)
 * [8 years, 2 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-6/#post-10096243)
 * Hi,
 * I updated the plugin today and my site is working fine at first sight, with good
   speed. I’ll monitor the error logs in the next few days to make sure everything
   is working properly.
 * I’d just like to let you know I’ve really enjoyed this plugin so far. I’m waiting
   a little bit more to add a review but I consider it a great alternative to Sumome
   because it doesn’t slow down my site as much or generates errors constantly (
   this is the first one I’ve reported). The only thing it would make it better 
   would be to add a bottom bar sharing option (like the side bar but at the bottom)
   for mobile devices. Although I love the effectivity of the sidebar, some of my
   customers have complained that it’s intrusive and a bit annoying cause it blocks
   part of the written content. A bottom bar would be a nice alternative for these
   situations and just as effective as the side bar.
 * Thank you!

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

The topic ‘PHP Warning: 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/)

## Tags

 * [illegal string offset](https://wordpress.org/support/topic-tag/illegal-string-offset/)
 * [PHP Warning](https://wordpress.org/support/topic-tag/php-warning/)

 * 7 replies
 * 4 participants
 * Last reply from: [bedazelive](https://wordpress.org/support/users/bedazelive/)
 * Last activity: [8 years, 2 months ago](https://wordpress.org/support/topic/php-warning-illegal-string-offset-6/#post-10096243)
 * Status: resolved