WordPress.org

Ready to get started?Download WordPress

Forums

Tweetable
"Missing argument 2" - Tweetable misbehaving or PHP error? (3 posts)

  1. Elfenwald
    Member
    Posted 2 years ago #

    Hi,

    had updated quite a bit stuff recently (WordPress itself, Tweetable, and webserver, so it runs PHP 5.3 now), so I am not sure what is the source of the problem:

    Tweetable seems to work overall, I can tweet from the dashboard, and it displays tweets in the widget, but in the widget it additionally shows an error and when I publish a new article, the auto-tweet-attempt causes the same error:

    Missing argument 2 for tweetable_write_widget() /var/[censored]/wp-content/plugins/tweetable/tweetable.php on line 137

    as you can see on http://www.theshamanmarketer.com (near the bottom)

    Any ideas?

    P.S.: while we are at it - Tweetable seems to have a minor hickup in the auto-update code when you update the plugin - the .maintenance file is not deleted and you have to manually delete it after the update, otherwise whole site is locked down in maintenance forever.... ;-)

  2. redwallhp
    Member
    Plugin Author

    Posted 2 years ago #

    I just committed a fix for the Missing Argument 2 warning. It should be available in a few minutes.

    I've never seen anything like your .maintenance file issue before though. I did some Googling and I'm pretty sure it's not Tweetable's fault. The update is handled entirely by the WordPress core, with no hooks or anything in the plugin itself. It would have to be a bug in WordPress itself, or maybe a configuration/permission issue with your server environment. (It looks like it's not an uncommon occurrence with core updates either...)

  3. Elfenwald
    Member
    Posted 2 years ago #

    Cool, thanks for the fix!

    The update prob - weird, I know. I thought just what you wrote, but for SOME reason I get this problem sometimes, und so far only with Tweetable or when I chose several plugins incl. Tweetable to be updated. Other plugins update fine on the same install.
    Well, not so important, manually killing the file is not a big deal ;-)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags