Title: Illegal string offset &#039;long-url&#039;
Last modified: August 21, 2016

---

# Illegal string offset 'long-url'

 *  Resolved [e.vd.palen](https://wordpress.org/support/users/evdpalen/)
 * (@evdpalen)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-long-url/)
 * I’m receiving this error on every post I publish:
 * Warning: Illegal string offset ‘long-url’ in /home/tgadmin/public_html/wp-content/
   plugins/wp-to-twitter/wp-to-twitter-shorteners.php on line 252
 * I’m using the bit.ly shortener on a custom domain.
 * [https://wordpress.org/plugins/wp-to-twitter/](https://wordpress.org/plugins/wp-to-twitter/)

Viewing 1 replies (of 1 total)

 *  Plugin Author [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * (@joedolson)
 * [12 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-long-url/#post-4762133)
 * The long URL API has been returning bad data recently, and the error message 
   is being parsed as an array. I’ll have an update out tomorrow that will resolve
   that message. (Nothing I can do about the bad data; but at least I can avoid 
   parsing the data as if it was correct.)

Viewing 1 replies (of 1 total)

The topic ‘Illegal string offset 'long-url'’ is closed to new replies.

 * ![](https://ps.w.org/wp-to-twitter/assets/icon-256x256.png?rev=2997308)
 * [XPoster - Share to Bluesky and Mastodon](https://wordpress.org/plugins/wp-to-twitter/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-to-twitter/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-to-twitter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-to-twitter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-to-twitter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-to-twitter/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Joe Dolson](https://wordpress.org/support/users/joedolson/)
 * Last activity: [12 years, 2 months ago](https://wordpress.org/support/topic/illegal-string-offset-long-url/#post-4762133)
 * Status: resolved