Aaron Axelsen
Forum Replies Created
-
Please enable debugging in the plugin, and post the debugging log after you have scheduled a post to expire, and that expiration time has passed
Hopefully within the next week – but, that all depends on the amount of time I get to work on it.
Take a look at your wp-config.php file and see if you find the following line:
define(‘DISABLE_WP_CRON’, true);
If you do see this, simply set it to “false”.
Great news! How as WordPress installed initially that wp-cron was disabled? Was it a scripted installed used by your webhost? Which webhost?
There seem to be others having similiar issues – so whatever information you can provide will be helpful to others.
This is likely caused by wp-cron being disabled on your webhost. I am working on getting some debugging added into future versions to better display with.
You can set default settings for different post types in the latest release. This does not automatically apply to all posts of that type, it would just populate the expiration box when creating/editing a post.
There is a short tag setup that will display the expiration date for the post, but not how much time is left.
It would appear that wp-cron events are not firing. Do you or your host have anything setup that would be disabling that?
You can set it to expire to a draft – is that not sufficient?
You will need to enable debugging first, and then try to set some posts for expiration. Let me know what ends up getting spit out there.
What does the debug information say inside of post expirator on this site?
@eric Are you willing to share the full list of installed plugins on the site in question so I can try to reproduce this on my end?
There is not currently a way to make this type of change easily from within the plugin.
The only way a post would expire is if it is configured to do so – there is no way that a random post would expire on its own
can you post a list of all the plugins installed on the site having problems?
If there is truly a problem with the plugin, any details/info you can provide would be appreciated. Thanks for your effort in further debugging this issue!
I’m mainly just interested in confirming that the scripted installation is not the cause. If you were able to reproduce the issue with a vanilla WordPress installation with just the Post Expirator plugin that would be helpful to know. Transferring over content and settings would not be needed.