Title: Posts not expiring
Last modified: July 8, 2021

---

# Posts not expiring

 *  Resolved [hvorrath](https://wordpress.org/support/users/hvorrath/)
 * (@hvorrath)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/)
 * We’ve been using Post Expirator for years and it has worked well. We expire posts
   using the Category:Remove option. A few weeks ago it stopped working – not exactly
   sure when. We noticed it in the week 21-25 June when a lot of our posts were 
   set to expire and didn’t. The posts in question are Events created by the Events
   Manager plugin.
    I thought the new release of PE would have fixed it, but it 
   hasn’t.

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/posts-not-expiring-12/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/posts-not-expiring-12/page/2/?output_format=md)

 *  [pixelarea](https://wordpress.org/support/users/pixelarea/)
 * (@pixelarea)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14639039)
 * Same problem for me.
    What’s up
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14639356)
 * Hi [@pixelarea](https://wordpress.org/support/users/pixelarea/) and [@hvorrath](https://wordpress.org/support/users/hvorrath/)
 * Thanks for using Post Expirator.
 * To help debug this, please use this plugin to rollback and test version 2.4.2
   
   [https://wordpress.org/plugins/wp-rollback/](https://wordpress.org/plugins/wp-rollback/).
   Does this feature work for you in that version?
 *  Thread Starter [hvorrath](https://wordpress.org/support/users/hvorrath/)
 * (@hvorrath)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14639517)
 * It wasn’t working before we upgraded from 2.4.2 to 2.4.3. I was hoping that 2.4.3
   would have a fix.
    I don’t really need to do a rollback to prove that 2.4.2 didn’t
   work. I usually upgrade a plugin as soon as WP indicates that there is an upgrade
   available, so I would have upgraded to 2.4.2 when it was released, but I don’t
   know when that was. The plugin was definitely working OK back in April, whatever
   version that was. I can see an expired post which expired 21 May, so it looks
   like it was working then. So it stopped working some time in the following month,
   between 21 May and 21 June. Just an idea – the website was upgraded to PHP 7.4.20
   from a much earlier version on 18 June. Could that be the cause of the problem?
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14639536)
 * [@hvorrath](https://wordpress.org/support/users/hvorrath/) We’re here to help
   you, but can’t do all the work. This is a team effort, especially as we’re helping
   you for free.
 * Our question is: does going back to 2.4.2 fix this for you?
 * No, changing the PHP version is unlikely to be the issue.
 *  Thread Starter [hvorrath](https://wordpress.org/support/users/hvorrath/)
 * (@hvorrath)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14639667)
 * Sorry, I thought I was being helpful – I put in quite a bit of effort in trying
   to work out exactly when the plugin stopped working for us, and to try and think
   of anything that changed during that period.
    I didn’t think the rollback would
   help you as I knew the plugin wasn’t working when we were using 2.4.2. However
   I agree that debugging is a team effort, and so I did the rollback as you requested,
   and no, the expiry doesn’t work in 2.4.2. Happy to try anything else you can 
   suggest.
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14640008)
 * Thanks [@hvorrath](https://wordpress.org/support/users/hvorrath/). That is very
   helpful. Any luck going back a step further to 2.4.1 or even to 2.4.0?
 * It might sound small, but if we can isolate when the problem started, we’ll be
   able to find a fix for you much more quickly.
 *  Thread Starter [hvorrath](https://wordpress.org/support/users/hvorrath/)
 * (@hvorrath)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14641733)
 * I will do further rollbacks after hours today (Melbourne, Australia time).
    In
   the meantime, I did a bit more debugging. I’m in PE 2.4.2 at the moment. If I
   create a normal new post, and set it to expire to Draft, it expires as it should.
   If I set it to do Category: Remove – it doesn’t do the removal. So it’s only 
   that functionality that isn’t working. It also means that my assumption that 
   the plugin was working in May was wrong, as I was looking at an example where
   the post had expired to Draft. I’m now backtracking to try to work out when Remove:
   Category last worked, and it may be way back in time. PS I’m an ageing IT nerd
   and I like debugging, been doing it since 1968 when I started as a trainee programmer…
 *  Thread Starter [hvorrath](https://wordpress.org/support/users/hvorrath/)
 * (@hvorrath)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14642594)
 * Hi Steve
    OK. PE was definitely working OK on 5 May 2021, when it successfully
   removed several categories from an event post. It was not working by 21 June.
   I have now rolled back to 2.4.1, and Category:Remove does not work. Went back
   one more to 2.4.0 and Category:Remove does not work. I’m back to thinking it 
   has to be something that changed in May or June 2021 that is external to your
   plugin. Helen
 *  Thread Starter [hvorrath](https://wordpress.org/support/users/hvorrath/)
 * (@hvorrath)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14642611)
 * Just found another event post which expired correctly on 14 May.
 *  [pixelarea](https://wordpress.org/support/users/pixelarea/)
 * (@pixelarea)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14643818)
 * Hello Steve, with the Rollback plugin it still doesn’t work for me with either
   
   2.4.2, 2.41, 2.4.0 I hope you find a solution
    -  This reply was modified 4 years, 10 months ago by [pixelarea](https://wordpress.org/support/users/pixelarea/).
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14643905)
 * [@pixelarea](https://wordpress.org/support/users/pixelarea/) [@hvorrath](https://wordpress.org/support/users/hvorrath/)
   Thanks for all the helpful feedback.
 * This is a bit of a mystery.
 * I agree that there’s something else going on here that doesn’t involve an update
   to this plugin. Your sites doesn’t work even with versions that are years old.
   There also weren’t any notable WordPress releases around May or June.
 * [@hvorrath](https://wordpress.org/support/users/hvorrath/) is the problem only
   with the Events Manager plugin, or regular posts too?
 * [@pixelarea](https://wordpress.org/support/users/pixelarea/) we’ve not had much
   background information from you. We’d need a lot more to track this down.
 *  [prosie](https://wordpress.org/support/users/prosie/)
 * (@prosie)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14644489)
 * I’m having this problem, too. I’m not using Events Calendar, but it has stopped
   working on standard posts, not events.
 *  Plugin Author [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * (@stevejburge)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14644499)
 * [@prosie](https://wordpress.org/support/users/prosie/) Please could you open 
   your own ticket with specific details.
 * Start by letting us know this …
 * 1) Exactly what isn’t working
    2) When the problem started 3) What you’ve done
   to debug the problem 4) If rolling back to earlier versions can fix the problem
    -  This reply was modified 4 years, 10 months ago by [Steve Burge](https://wordpress.org/support/users/stevejburge/).
 *  Thread Starter [hvorrath](https://wordpress.org/support/users/hvorrath/)
 * (@hvorrath)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14646012)
 * Hi Steve
    I thought it might be associated with Events Manager posts, but I’ve
   done my testing with standard posts. They expire into Draft correctly, but not
   using “Remove: Category”. And it’s the same with all versions of the plugin, 
   old and current. Maybe all those having the problem could let you have a list
   of other plugins/themes they use to see if there’s a common link. Here’s my info:
   WordPress 5.7.2 PHP 7.4 Theme: GeneratePress Plugins: Admin Menu Editor Anti-
   Malware Security Classic Editor Enhanced Media Library Events Manager + Pro +
   Zoom Google Analytics by MonsterInsights hideShowPassword KC s2M+MC Pro Lightweight
   Social Icons Log Emails MaxButtons Pro Plugins Garbage Collector Popup Maker 
   Post Expirator S2Member + Pro SiteGround Optimizer Slide Anything UpdraftPlus
   WP Mail SMTP WP Maintenance Mode WP Rollback WP Sitemap Page WP-Optimize wpDataTables
   WPForms wpForo
 *  Thread Starter [hvorrath](https://wordpress.org/support/users/hvorrath/)
 * (@hvorrath)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/#post-14646101)
 * Another snippet:
    Category: Add and Category: Replace both work. It’s only Category:
   Remove that doesn’t.

Viewing 15 replies - 1 through 15 (of 26 total)

1 [2](https://wordpress.org/support/topic/posts-not-expiring-12/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/posts-not-expiring-12/page/2/?output_format=md)

The topic ‘Posts not expiring’ is closed to new replies.

 * ![](https://ps.w.org/post-expirator/assets/icon-256x256.png?rev=3118683)
 * [Schedule Post Changes With PublishPress Future: Unpublish, Delete, Change Status, Trash, Change Categories](https://wordpress.org/plugins/post-expirator/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/post-expirator/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/post-expirator/)
 * [Active Topics](https://wordpress.org/support/plugin/post-expirator/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/post-expirator/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/post-expirator/reviews/)

 * 26 replies
 * 4 participants
 * Last reply from: [Steve Burge](https://wordpress.org/support/users/stevejburge/)
 * Last activity: [4 years, 9 months ago](https://wordpress.org/support/topic/posts-not-expiring-12/page/2/#post-14697159)
 * Status: resolved