WordPress.org

Ready to get started?Download WordPress

Forums

Twitget
[resolved] [closed] Loses all settings (17 posts)

  1. Rootside
    Member
    Posted 1 year ago #

    Testing this plugin on a fresh WordPress install:
    - everything untouched, default theme
    - WP_DEBUG turned on in wp-config.php

    PHP Notices after saving the settings:

    Notice: Undefined index: twitget_show_powered in /xxx/twitget.php on line 365
    Notice: Undefined index: twitget_use_custom in /xxx/twitget.php on line 370
    Notice: Undefined index: twitget_before_tweets_html in /xxx/twitget.php on line 378
    Notice: Undefined index: twitget_tweet_middle_html in /xxx/twitget.php on line 379
    Notice: Undefined index: twitget_tweet_end_html in /xxx/twitget.php on line 380
    Notice: Undefined index: twitget_after_tweets_html in /xxx/twitget.php on line 381
    Notice: Undefined index: twitget_after_image_html in /xxx/twitget.php on line 382
    Notice: Undefined index: twitget_before_profile_html in /xxx/twitget.php on line 383

    Notice: Undefined index: show_relative_time in /xxx/twitget.php on line 545

    Notice: Undefined index: title in /xxx/twitget.php on line 640 (on the Widgets admin page)

    PHP notices are usually nothing to worry about, and the widget works at first. But when I then return to the settings page, all checkboxes are ticked, and ALL fields are populated with the same random, single character. Usually a or A, sometimes an unsupported character.

    And this breaks the widget, of course:
    Fatal error: Cannot use string offset as an array in /var/sites/t/twitget.antfarm.at/public_html/wp-content/plugins/twitget/twitget.php on line 208

    I’ve deleted and re-installed the plugin a few times, but the behaviour remains the same: it happens every time, after I add the widget to a sidebar.

    As bugs go, this is huge – I’ve never seen a plugin drop its settings like this. I hope you can find the problem.

    http://wordpress.org/extend/plugins/twitget/

  2. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry about that. Could you download the latest version again and try again?

  3. Rootside
    Member
    Posted 1 year ago #

    I’ve got the latest version (2.0?). Deleted and downloaded it several times, about 1 hour ago.

  4. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    Try again, I've just commited some minor modifications.

    Tell me if the notices and the error still appear.

  5. Rootside
    Member
    Posted 1 year ago #

    No, same thing (I’m getting fewer PHP notices, but I don’t know if that is because I’ve changed fewer settings).

    But the version number is still 2.0, so apparently I’m not getting the latest version.

  6. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    You're installing from scratch, and the A's appear in all your fields when you add the widget?

  7. Rootside
    Member
    Posted 1 year ago #

    Yes – and the WordPress install is only a few hours old as well. No other plugins, nothing.

    I checked via ftp if the plugin files are deleted, and re-installed. Same problem.

  8. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    Please try 2.0.1.

    I've installed a fresh version, added a widget and it worked.

    I've also updated from a previous version and it also worked.

  9. Rootside
    Member
    Posted 1 year ago #

    Same issue with 2.0.1.

  10. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    Could you tell me the exact steps you went through before the settings got filled with random characters? And your twitter account username?

  11. Rootside
    Member
    Posted 1 year ago #

    Account is @antgriculture (Ant Farm)
    Test site is http://twitget.antfarm.at

    Exact steps:

    1. Install the plugin
    2. Add details: username (without the @), consumer key, consumer secret, access token access token secret)
    3. Navigate to another page in admin, go back to Twitget settings: looks alright, settings still there
    4. Add widget to sidebar, enter title (I tried different titles)
    5. Check website: widget works
    6. Go back (or reload) Twitget settings page: settings dropped, all fields show single random character: A, a, <, or unsupported character

  12. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    I need just this little bit:

    - PHP version
    - WordPress version
    - WordPress theme you are using

    Cheers.

  13. Rootside
    Member
    Posted 1 year ago #

    PHP 5.3.10
    WordPress 3.5.1
    Twenty Twelve theme

  14. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    Just letting you know I'm trying to reproduce this one so that I could fix it.

    Cheers!

  15. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    Rootside, I haven't been able to reproduce this issue, but I've made some changes.

    Please try the development version and report back - http://downloads.wordpress.org/plugin/twitget.zip

    If it still doesn't work, please send me your keys (consumer, secret etc.) on email - you can get my contact info here - http://bostjan.gets-it.net

    Cheers.

  16. Rootside
    Member
    Posted 1 year ago #

    Thanks, but no thanks.

    At the moment (Twitget 2.1), I can’t even log into the test site without deleting Twitget. “PHP Warning: Cannot modify header information - headers already sent by (output started at /xxx/twitget.php:194) in /xxx/wp-includes/pluggable.php”

    Sorry, but it’s just too unreliable.

  17. Boštjan Cigan
    Member
    Plugin Author

    Posted 1 year ago #

    Sorry to hear that.

    It's hard for me to test all possible versions of server configurations and I've devoted a lot of my spare time to fixing this issue, and even would try to spare even more. I've managed to reproduce a similar issue like yours, but it was gone after the Twitter feed was refreshed, and the settings weren't deleted.

    For most people it works fine. I've only encountered two so far (with you included) that had the same problem and I can't pinpoint it. I've removed most of the notices, errors and added a few things.

    Can't please 'em all I guess.

    Hope you can get another plugin that does similar things, or hire a WordPress developer that does it for you, we mainly work for free here you know ;)

    Cheers!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.