Title: Problems publishing posts
Last modified: August 24, 2016

---

# Problems publishing posts

 *  [Anarane](https://wordpress.org/support/users/anarane/)
 * (@anarane)
 * [11 years ago](https://wordpress.org/support/topic/problems-publishing-posts/)
 * Ok having issues with Wordtwit, it will publish the first post from my site but
   nothing after that.
 * [https://wordpress.org/plugins/wordtwit/](https://wordpress.org/plugins/wordtwit/)

Viewing 1 replies (of 1 total)

 *  [Jay](https://wordpress.org/support/users/phyrax/)
 * (@phyrax)
 * [10 years, 10 months ago](https://wordpress.org/support/topic/problems-publishing-posts/#post-6170880)
 * Not that this matters for you, and since this is about 1+ months old, I wanted
   to post here so future viewers are aware as well.
 * We had the same issue. Initial tweet would go out, but any future tweet would
   not. After a really long investigation last night it was actually two factors
   that played into it.
 * **Factor #1**
    WP_Cron – We were using a system level cron job, following a tutorial
   from here: [https://developer.wordpress.org/plugins/cron/hooking-into-the-system-task-scheduler/](https://developer.wordpress.org/plugins/cron/hooking-into-the-system-task-scheduler/)
 * However, the issue was with our host now allowing our tasks to fire from crontab
   under our user. Updating the code set the user as root for the cron fixed the
   issue for us:
    `*/5 * * * * root wget http://mysite.com/wp-cron.php &> /dev/null`
 * With a quick cron testing plugin, I found the cron to be firing at this point.
 * **Factor #2**
    W3TC – There’s a known issue with W3TC and cron jobs which use
   object data. WordTwit is one of those issues. See here: [https://wordpress.org/support/topic/self-diagnosed-and-fixed-w3-total-cache-bug-in-faulty-object-caching?replies=9](https://wordpress.org/support/topic/self-diagnosed-and-fixed-w3-total-cache-bug-in-faulty-object-caching?replies=9)
 * Once I disabled database & object cache, our tweets started going out automatically
   again.
 * I elected to edit W3TC myself and put in the first patch mentioned by archon 
   in tha thread. Once I did that, and re-enabled object cache, things seem to flow
   normal again ( with the added system cron fix from factor #1 )

Viewing 1 replies (of 1 total)

The topic ‘Problems publishing posts’ is closed to new replies.

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

 * 1 reply
 * 2 participants
 * Last reply from: [Jay](https://wordpress.org/support/users/phyrax/)
 * Last activity: [10 years, 10 months ago](https://wordpress.org/support/topic/problems-publishing-posts/#post-6170880)
 * Status: not resolved