Posts not expiring
-
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.
-
Same problem for me.
What’s upHi @pixelarea and @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/. Does this feature work for you in that version?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?@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.
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.Thanks @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.
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…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.
HelenJust found another event post which expired correctly on 14 May.
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.
@pixelarea @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 is the problem only with the Events Manager plugin, or regular posts too?
@pixelarea we’ve not had much background information from you. We’d need a lot more to track this down.
I’m having this problem, too. I’m not using Events Calendar, but it has stopped working on standard posts, not events.
@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.
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
wpForoAnother snippet:
Category: Add and Category: Replace both work. It’s only Category: Remove that doesn’t. -
This reply was modified 4 years, 10 months ago by
The topic ‘Posts not expiring’ is closed to new replies.