Title: [Plugin: WP Twitter] Illegal string offset &#039;error_code&#039;
Last modified: August 20, 2016

---

# [Plugin: WP Twitter] Illegal string offset 'error_code'

 *  Resolved [magicx](https://wordpress.org/support/users/magicx/)
 * (@magicx)
 * [13 years, 8 months ago](https://wordpress.org/support/topic/plugin-wp-twitter-illegal-string-offset-error_code/)
 * Hello,
 * I receive the PHP error: “
    Warning: Illegal string offset ‘error_code’ in [fullpath]/
   wp-content/plugins/wp-twitter/admin/page-2.php on line 144
 * Warning: Cannot modify header information – headers already sent by (output started
   at [fullpath]/wp-content/plugins/wp-twitter/admin/page-2.php:144) in [fullpath]/
   wp-includes/pluggable.php on line 881″
 * This error comes when I post either a new article or update an existing article.
   A tweet is published on Twitter, but the URL is missing giving the text “Updated
   blog post: Resolving Seasonal Affective Disorder: ” having the article title 
   in WordPress as “Resolving Seasonal Affective Disorder”.
 * The format configuration is “New blog post: #title#: #url#” in Basic Settings.
 * Thanks
 * [http://wordpress.org/extend/plugins/wp-twitter/](http://wordpress.org/extend/plugins/wp-twitter/)

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

 *  [Fdoromo](https://wordpress.org/support/users/fdoromo/)
 * (@fdoromo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-twitter-illegal-string-offset-error_code/#post-3081494)
 * This error is caused by the “url reducer service” that you are using, check it!
 *  Thread Starter [magicx](https://wordpress.org/support/users/magicx/)
 * (@magicx)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-twitter-illegal-string-offset-error_code/#post-3081498)
 * I actually didn’t use a URL reducer service? I clicked “WordPress default URL
   format”?
 *  Thread Starter [magicx](https://wordpress.org/support/users/magicx/)
 * (@magicx)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-twitter-illegal-string-offset-error_code/#post-3081499)
 * I get the same error while using “TinyURL”.
 *  [Fdoromo](https://wordpress.org/support/users/fdoromo/)
 * (@fdoromo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-twitter-illegal-string-offset-error_code/#post-3081527)
 * Please, there are thousands of variables to be considered, please check before
   the error, uninstall (not just deactivated but actively deleted through the WordPress
   Admin) install again, if the error persists please provide: Your version of wordpress,
   your server (apache, etc), and his version of PHP. Thanks
 *  Thread Starter [magicx](https://wordpress.org/support/users/magicx/)
 * (@magicx)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-twitter-illegal-string-offset-error_code/#post-3081559)
 * Today I got time to look into this.
 * I tried re-installing the plugin with a full delete and install, but unfortunately
   the error persists.
 * A few version-info on my environment:
    WordPress 3.4.2 PHP Version 5.4.42 Linux
   cluster from Servage.net – it’s an Apache version 2, but maybe changed to some
   extend.
 * A complete dump of my php_info() is available here: [http://magicx.dk/info.php](http://magicx.dk/info.php)
 * Thanks
 *  [Fdoromo](https://wordpress.org/support/users/fdoromo/)
 * (@fdoromo)
 * [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-twitter-illegal-string-offset-error_code/#post-3081564)
 * I did several tests and could not observe this error, check your settings… and:
 * i) Uninstall the Plugin (not just deactivated but actively deleted through the
   WordPress Admin)
    ii) Install again (Last Version) iii) Disable ALL other Plugins.

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

The topic ‘[Plugin: WP Twitter] Illegal string offset 'error_code'’ is closed to
new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/wp-twitter.svg)
 * [WP Twitter](https://wordpress.org/plugins/wp-twitter/)
 * [Support Threads](https://wordpress.org/support/plugin/wp-twitter/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-twitter/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-twitter/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-twitter/reviews/)

 * 6 replies
 * 2 participants
 * Last reply from: [Fdoromo](https://wordpress.org/support/users/fdoromo/)
 * Last activity: [13 years, 7 months ago](https://wordpress.org/support/topic/plugin-wp-twitter-illegal-string-offset-error_code/#post-3081564)
 * Status: resolved