WordPress.org

Ready to get started?Download WordPress

Forums

Scheduled Posts Not Launching (WP 3.3.1) (16 posts)

  1. liquidrice
    Member
    Posted 2 years ago #

    Hello,

    We've recently upgrade to WP 3.3.1 on three fair large sites. Each with a varying amount of traffic and each on a different hosting company. And all three are randomly not launching posts that are scheduled. I don't really see a pattern here with the exception of this happening since upgrading to WP 3.3 and 3.3.1.

    We've looked to make sure wp-cron isn't disabled or if disabled there is a traditional cron job running.

    Is this a bug with WP 3.3 or anyone have any suggestions with out having to install a plugin to try and fix this. Which I also tried and ended up having posts launching prematurely due to server and wp time difference. Either way, would really rather not have to rely on a plugin.

    We've also trimmed plugins down the ones that are necessary to keep the sites running normally.

  2. RichardBurley
    Member
    Posted 2 years ago #

    Same problem here. We must publish all post mannualy at the moment, no scheduling working at all. (Multiple sites on different servers all running 3.3.1)

  3. liquidrice
    Member
    Posted 2 years ago #

    Richard,

    I tried turning off all plugins 5 minutes before the scheduled post was going publish but that didn't work either. What plugins are you using? here's my list:
    http://dl.dropbox.com/u/19472631/plugins.gif

    I also tried clearing my htaccess and rebuilding it via a resave of permalinks settings.

    Of the 12 scheduled yesterday, 3 didn't publish on their own.

    Still have the problem but a little better now. I'm having my hosting company check the cron jobs which seem to the the problem.

    One other thing I had was sticked posts which i've taken off. Not sure if this helped anything yet. We have a whole new batch of scheduled posts today so we'll see.

  4. trstar
    Member
    Posted 2 years ago #

    Has anyone made any progress on this? I have never used scheduled posts before, but realize now that it is not working?

  5. Pioneer Valley Web Design
    Member
    Posted 2 years ago #

    Were all these posts scheduled for same exact time or did that time vary? Is there a relationship between which posts did not post when desired and the server time setting or the time setting in WP?

  6. trstar
    Member
    Posted 2 years ago #

    It was just one post that I scheduled 3 minutes out to test the scheduled posts function. I see now that by default it doesn't run that quickly. I am going to wait and see if it posts later today.

  7. liquidrice
    Member
    Posted 2 years ago #

    My schedule is usually at least one post per hour and during peak times of the day, one every 30 mins.

    My hosting company discovered this:
    "I don't see the same number of scheduled posts in the wp_cron database as on the schedule posts page in wp-admin. And when I create a new post and set a scheduled time, I don't always see it in the wp_cron."

    Any WP experts out there? please weigh in.

  8. esmi
    Forum Moderator
    Posted 2 years ago #

    Have you tried:

    - deactivating all plugins to see if this resolves the problem. If this works, re-activate the plugins one by one until you find the problematic plugin(s).

    - switching to the Twenty Eleven theme to rule out any theme-specific problems.

    - resetting the plugins folder by FTP or PhpMyAdmin. Sometimes, an apparently inactive plugin can still cause problems.

    - re-uploading the wp-admin and wp-includes folders from a fresh download of WordPress.

  9. liquidrice
    Member
    Posted 2 years ago #

    So I tried a few things.

    1) I reset the plugins folder and while plugins were all off. I tested scheduling. I still saw missed scheduled posts. Plugins aren't the problem.

    2) I left all plugins active and I changed to the default theme twenty eleven. I scheduled about 10 posts back to back. Each post missed the schedule and noted that in the time. BUT one minute later, all of those posts which missed the scheduled published.

    So I have a feeling it might have something to do with my theme. We've never had this problem until the 3.3.1 update. Any one have any ideas on old theme code that doesn't work with wp 3.3.1?

  10. liquidrice
    Member
    Posted 2 years ago #

    May or may not have been the theme.

    Acting on a hunch, there was one plugin we used which flipped the time in wp-admin for us "Restore Exact Time". I turned this off and some of the scheduled posts started to automatically publish again. Not all but most. So if you have this plugin installed, consider uninstalling it to see what happens. I've had 10 straight posts publish automatically, fingers crossed this will continue to work out.

    Early on I did test with all plugins off but it was too quick of a test since the site doesn't really function with out a lot of the plugins.

  11. KairahQueen
    Member
    Posted 2 years ago #

    I am having the same problem across multiple sites with multiple themes and multiple hosting companies.

  12. agsko
    Member
    Posted 2 years ago #

    I've a plugins that use cron to send emails ( post notification ) and it works
    so what doesn't work is at less for the articles....

    I worked on wp-cron.php :
    At first wp-cron had some delay because i don't understand why but in the WP folder the
    echo time( ) doesn't give the same result as elsewhere so I had to correct it line 51
    $local_time = time( ) + ( 2 * 60 * 60 ) + ( 60* 11 ) ;

    But the main (and stupid :-D ) things I did to get it working is line 56 : a comment is telling you that the code use a global variable but it is not declared before so I had
    global $doing_wp_cron ;

    And it seems to work fine.
    If this could help some one ....

  13. afrofoto
    Member
    Posted 2 years ago #

    Hi,
    i found this and it works for me:
    http://wordpress.org/extend/plugins/wp-missed-schedule/
    Hope it'll help!

  14. Loreen72
    Member
    Posted 2 years ago #

    Encountering the same issue myself.... I thought it was my scheduling calendar - but after some testing - it's happening when I use the regular WordPress post scheduler too.

    using 3.3.1...

    Will try some of the solutions suggested here this evening....

    Thanks!
    Loreen

  15. alanFW
    Member
    Posted 2 years ago #

    I worked on wp-cron.php :
    At first wp-cron had some delay because i don't understand why but in the WP folder the
    echo time( ) doesn't give the same result as elsewhere so I had to correct it line 51
    $local_time = time( ) + ( 2 * 60 * 60 ) + ( 60* 11 ) ;

    Hi there, that is ok as a short term fix, but next time you update your installation of wordpress, it will be over-written.

    Always avoid editing core files if at all possible!

    Thanks,

    A

  16. m1mi.dan0s
    Member
    Posted 1 year ago #

    The plugin that afrofoto suggested worked for me!

    It's a work-around of course, since all my posts miss their schedule, but this works for me. So it's fine :)

Topic Closed

This topic has been closed to new replies.

About this Topic