Title: Illegal string offset in shortcode.php
Last modified: August 21, 2016

---

# Illegal string offset in shortcode.php

 *  Resolved [timbonicus](https://wordpress.org/support/users/timbonicus/)
 * (@timbonicus)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/illegal-string-offset-in-shortcodephp/)
 * Checking my server logs, I get a stream of PHP warnings from the Pinterest “Pin
   It” Button Lite plugin:
 * Illegal string offset ‘float’ in /wp-content/plugins/pinterest-pin-it-button/
   inc/shortcode.php on line 62
 * They’re warnings and don’t seem to hurt the functionality, but it does fill up
   the error log. I’d rather not disable PHP warnings; I’m wondering if this is 
   a known issue or something specific to my configuration.
 * I’m on PHP 5.4.6, WordPress 3.5.1, Pinterest “Pin It” Button Lite 1.4.3.
 * [http://wordpress.org/extend/plugins/pinterest-pin-it-button/](http://wordpress.org/extend/plugins/pinterest-pin-it-button/)

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

 *  Plugin Contributor [Phil Derksen](https://wordpress.org/support/users/pderksen/)
 * (@pderksen)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/illegal-string-offset-in-shortcodephp/#post-3869636)
 * Thanks for pointing that out. We’ll look into correcting that in the next release.
 *  Plugin Contributor [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * (@nickyoung87)
 * [12 years, 11 months ago](https://wordpress.org/support/topic/illegal-string-offset-in-shortcodephp/#post-3869642)
 * [@timbonicus](https://wordpress.org/support/users/timbonicus/)
 * Could you post the shortcode code you are using?

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/pinterest-pin-it-button_f5f5f5.svg)
 * [Pinterest "Pin It" Button](https://wordpress.org/plugins/pinterest-pin-it-button/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/pinterest-pin-it-button/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/pinterest-pin-it-button/)
 * [Active Topics](https://wordpress.org/support/plugin/pinterest-pin-it-button/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/pinterest-pin-it-button/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/pinterest-pin-it-button/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Nick Young](https://wordpress.org/support/users/nickyoung87/)
 * Last activity: [12 years, 11 months ago](https://wordpress.org/support/topic/illegal-string-offset-in-shortcodephp/#post-3869642)
 * Status: resolved