Title: &quot;Missing argument 2&quot; &#8211; Tweetable misbehaving or PHP error?
Last modified: August 20, 2016

---

# "Missing argument 2" – Tweetable misbehaving or PHP error?

 *  [Elfenwald](https://wordpress.org/support/users/elfenwald/)
 * (@elfenwald)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/missing-argument-2-tweetable-misbehaving-or-php-error/)
 * 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](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…. 😉

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

 *  Plugin Author [redwallhp](https://wordpress.org/support/users/redwallhp/)
 * (@redwallhp)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/missing-argument-2-tweetable-misbehaving-or-php-error/#post-2277301)
 * 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…)
 *  Thread Starter [Elfenwald](https://wordpress.org/support/users/elfenwald/)
 * (@elfenwald)
 * [14 years, 9 months ago](https://wordpress.org/support/topic/missing-argument-2-tweetable-misbehaving-or-php-error/#post-2277302)
 * 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 😉

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

The topic ‘"Missing argument 2" – Tweetable misbehaving or PHP error?’ is closed
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/tweetable_e3ecf1.svg)
 * [Tweetable](https://wordpress.org/plugins/tweetable/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tweetable/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tweetable/)
 * [Active Topics](https://wordpress.org/support/plugin/tweetable/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tweetable/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tweetable/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Elfenwald](https://wordpress.org/support/users/elfenwald/)
 * Last activity: [14 years, 9 months ago](https://wordpress.org/support/topic/missing-argument-2-tweetable-misbehaving-or-php-error/#post-2277302)
 * Status: not resolved