• Resolved John Russell

    (@laubsterboy)


    I’m using Redis Object Cache 2.7.0 and WordPress multisite 6.8.3 and when I create a scheduled post (future) and check_and_publish_future_post runs it publishes the post but trying to view it results in a 404 response. I am able to manually update the post (with no changes) and it then loads properly, but that defeats the purpose of scheduling the publish date. I’ve also tried flushing the rewrite cache and that had no effect.

    I tested the exact same process while Redis Object Cache was disabled (and the object-cache.php drop-in deleted) and when the post transitioned from future to published I was able to view it without any issues. So, it seems to be tied to (at least in part) to the Redis Object Cache plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Till Krüss

    (@tillkruess)

    Have you tested this with SQLite Object Cache or another object caching implementation to rule out that its an issue with your setup?

    Thread Starter John Russell

    (@laubsterboy)

    I hadn’t yet, but I did just try using W3 Total Cache as an alternative and ran into the same problem with their Object Cache using Redis. It’s worth noting that it seems random but sometimes opening the post in the editor (after it’s been automatically published) the post slug has been emptied.

    When you say “setup” are you referring to our server config of Redis or just WordPress in general?

    Any ideas on troubleshooting? I’m our lead developer and a willing to do some troubleshooting/debugging to try to figure out what’s causing this.

    Plugin Author Till Krüss

    (@tillkruess)

    if it also occurs with W3TC, then it’s an issue with one of your plugins, custom code or wp core.

    You’ll have to try an isolate the issue with trial and error.

Viewing 3 replies - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.