• Resolved michaelj206

    (@michaelj206)


    We’ve had several instances of posts not expiring as scheduled. In our debug log, I see some of these failures. An example is:

    2021-09-23 11:42:10	126479 -> FAILED category Array ( [expireType] => category [category] => Array ( [0] => 9551 [1] => 9569 [2] => 8 [3] => 9 ) [categoryTaxonomy] => )
    2021-09-23 11:42:07	126479 -> SCHEDULED at Wed, 22 Sep 2021 05:05:00 -0700 (1632287100) with options Array ( [expireType] => category [category] => Array ( [0] => 9551 [1] => 9569 [2] => 8 [3] => 9 ) [categoryTaxonomy] => ) no error

    In addition to Post Expirator, we’re using WP Crontrol and WP Missed Schedule. I see the postExpiratorExpire countdowns in our WP Crontrol Events. Other scheduled events are executing correclty.

    What do you think is going on? Thank you!

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author Steve Burge

    (@stevejburge)

    Hi @michaelj206

    Thanks for using Post Expirator.

    This one requires more debugging, please:

    – Do other cron jobs always run correctly on this site?
    – Is there a pattern with which posts do not expire correctly? A particular type of expiry?
    – Has this problem started recently? Were earlier versions of the plugin more reliable?

    Thread Starter michaelj206

    (@michaelj206)

    Hi Steve,
    Thank you for responding.
    The other cron jobs are running correctly.
    It seems to happen only when posts are set to expire to a category, not a change in post status.
    The problem started just recently, after the plugin update.
    Please let me know if you need further information. Thank you!

    Plugin Author Steve Burge

    (@stevejburge)

    OK, thanks @michaelj206

    We see the error and will get it fixed.

    Thread Starter michaelj206

    (@michaelj206)

    Great! Is it possible for us to roll back to an earlier version until it’s fixed? Thanks so much for your help, Steve!

    Plugin Author Steve Burge

    (@stevejburge)

    Thread Starter michaelj206

    (@michaelj206)

    @stevejburge I will for sure. Do you have a projected window for the fix? Thanks so much!

    Thread Starter michaelj206

    (@michaelj206)

    Hi Steve, we’re still having the same problem.
    We tried updating to 2.6.0, but it didn’t resolve this particular issue. We rolled back to 2.5.0 and this didn’t help either. Then I noticed that when scheduling a post expiration, the time that appears in the Expires column is different, by 8-12 hours, than the time we set in Post Expirator. In WP Crontrol, I don’t see the event being scheduled. In fact, none of the Post Expirator events are showing up, though I see two postExpiratorExpire events scheduled in 4 months. Our other cron events, such as publish_future_post, are working correctly.
    Any thoughts on what’s happening? Thank you so much!

    • This reply was modified 3 years, 1 month ago by michaelj206.
    Thread Starter michaelj206

    (@michaelj206)

    Hi @stevejburge If this provides any clues, the date and time in the Expires column when viewing All Posts in the dashboard never matches the date and time set in in the post with Post Expirator. The desired date and time for expiration are saved correctly, but display seemingly random dates and times. In some instances it can be a difference of 5 hours, in others as many as 8 or 10.
    Our WP Cron appears to be functioning correctly otherwise.
    Thank you again for your help!

    Plugin Author Steve Burge

    (@stevejburge)

    Hi @michaelj206

    I’d ask you to a file a Github issue, please: https://github.com/publishpress/PublishPress-Future/issues

    Give specific examples and steps we can use to try and re-create this error.

    Thread Starter michaelj206

    (@michaelj206)

    Thank you @stevejburge I will do so!

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Posts Expiring At Random Times’ is closed to new replies.