Title: Warning: Illegal string offset &#039;script&#039;
Last modified: August 21, 2016

---

# Warning: Illegal string offset 'script'

 *  [dolphspeed99](https://wordpress.org/support/users/dolphspeed99/)
 * (@dolphspeed99)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-script/)
 * Hello,
 * I changed hosting for my site and it seems that your plugin crashed. What it 
   does is that on pages that list articles and also on article page I get this 
   message:
    “Warning: Illegal string offset ‘script’ in /home/machomen/public_html/
   wp-content/plugins/wp-socializer/includes/wpsr-shortcodes.php on line 52” The
   buttons are working properly, it’s just that this warning shouldn’t appear. I
   tried deleting the plugin and reinstalling it, but no change.
 * Could you point me in the right direction for fixing this? Strange enough, but
   line 52 in the specified file is completely empty.
 * Thank you!
 * [http://wordpress.org/plugins/wp-socializer/](http://wordpress.org/plugins/wp-socializer/)

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

 *  Thread Starter [dolphspeed99](https://wordpress.org/support/users/dolphspeed99/)
 * (@dolphspeed99)
 * [12 years, 8 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-script/#post-4243407)
 * I managed to see what causes the problem: I use shortcodes in my posts and, as
   soon as I delete the shortcode [wpsr_plusone], the warning disappears. I tried
   using the plusone button in the floating bar and everything is fine. It’s just
   that when I use the shortcode inside a post, I can see the warning. Is there 
   a fix for this? Otherwise I have to manually delete the shortcode from over 200
   posts 🙁
 *  Thread Starter [dolphspeed99](https://wordpress.org/support/users/dolphspeed99/)
 * (@dolphspeed99)
 * [12 years, 7 months ago](https://wordpress.org/support/topic/warning-illegal-string-offset-script/#post-4243493)
 * What can I say? Amazing support for this plugin! 6 days and no answer on my problem!
   Keep up the good work guys!
 *  [Nick](https://wordpress.org/support/users/kercommunications/)
 * (@kercommunications)
 * [12 years ago](https://wordpress.org/support/topic/warning-illegal-string-offset-script/#post-4243549)
 * Same problem at [http://kercommunications.com/blog/](http://kercommunications.com/blog/).
   Still nothing from the developer?!
 *  [esmi](https://wordpress.org/support/users/esmi/)
 * (@esmi)
 * [12 years ago](https://wordpress.org/support/topic/warning-illegal-string-offset-script/#post-4243550)
 * If you require assistance then, as per the [Forum Welcome](http://codex.wordpress.org/Forum_Welcome#Where_To_Post),
   please post your own topic instead of tagging onto someone else’s topic.
 * I am now closing this 7 month old topic as it references an older version of 
   WordPress.

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

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

 * ![](https://ps.w.org/wp-socializer/assets/icon.svg?rev=1616975)
 * [WP Socializer - Simple & Easy Social Media Share Icons](https://wordpress.org/plugins/wp-socializer/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-socializer/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-socializer/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-socializer/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-socializer/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-socializer/reviews/)

## Tags

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

 * 4 replies
 * 3 participants
 * Last reply from: [esmi](https://wordpress.org/support/users/esmi/)
 * Last activity: [12 years ago](https://wordpress.org/support/topic/warning-illegal-string-offset-script/#post-4243550)
 * Status: not resolved