I am trying to: I'm trying to set up an expiration date on a custom post but it is changing the date I set up. I do have the latest updated plugins.
Here is the video about it: hidden link
Hi can you tell me the default timezone setting of your server? You can usually find this in a PHP info page. We have instructions for creating a phpinfo page here: https://toolset.com/toolset-requirements/
Then follow these troubleshooting steps:
- Temporarily switch to a default theme like Twenty Nineteen and deactivate all plugins except Types, Views and Forms.
- Clear your browser cache and test again.
- If the problem is resolved, reactivate your theme and other plugins one by one until the problem returns.
- if the problem is not resolved, I'll have to take a closer look.
Christian,
My server timezone according to Godaddy is Arizona's timezone.
I followed your instructions about the plugins and the theme but it still did not work.
What else can I do?
Okay thanks for running those tests. I'm asking my 2nd tier team to take a closer look. I can replicate something similar on a local test environment, so I'm not sure if there is a problem or if I just don't understand how the dates are represented here - as UTC, as User's local time, or as server's local time. I'll let you know what I find out.
Any update on this? This is the final step for me to complete the site.
I don't have anything new to report just yet, I can see this has been escalated to our developers but I don't have a patch or update available for a fix. I'll keep you posted here when I receive more information.
Ok Christian, thank you. I'll look forward to their response.
Hello, I'm still waiting for a fix patch or update from our developers. In the meantime, an erratum post has been published, describing the problem: https://toolset.com/errata/wrong-expiration-date-saved-for-posts-if-wordpress-timezone-is-utc-negative/
Thank you Christian, looking forward to the update!
Although the update fixed the one issue of the date going back 1 day, it still not changing status - check out the video - hidden link
Hi, it might not change status immediately if the cron is set at an interval higher than once a minute. What setting is selected in Toolset > Settings > Forms > Post Expiration? For example, if Once Hourly is selected, the post status may not change immediately.
I didn't even know there was a settings for that. I thought it would be at the exact same time the post expiration time was set to. So I changed the settings to once hourly and I'm going to test it. I'll let you know, thanks!
The update to Forms plugin has fixed the issue. My issue is resolved now. Thank you!