WordPress.org

Ready to get started?Download WordPress

Forums

WP Twitter
[resolved] Illegal string offset 'error_code' (7 posts)

  1. magicx
    Member
    Posted 1 year ago #

    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/

  2. Fabrix Doromo
    Member
    Plugin Author

    Posted 1 year ago #

    This error is caused by the "url reducer service" that you are using, check it!

  3. magicx
    Member
    Posted 1 year ago #

    I actually didn't use a URL reducer service? I clicked "WordPress default URL format"?

  4. magicx
    Member
    Posted 1 year ago #

    I get the same error while using "TinyURL".

  5. Fabrix Doromo
    Member
    Plugin Author

    Posted 1 year ago #

    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

  6. magicx
    Member
    Posted 1 year ago #

    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

    Thanks

  7. Fabrix Doromo
    Member
    Plugin Author

    Posted 1 year ago #

    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.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.