You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
We found with the latest WordPress v6.5 update that when updating core, it is not just necessary to rename or delete object-cache.php but also to then flush the cache before re-enabling object-cache.php.
If this doesn't happen, when you try to access the dashboard, the site tries to update the WordPress database but displays a notice to say it's already been updated and directs the user to the home page rather than the dashboard preventing access to the dashboard until object-cache.php has been disabled or the cache has been flushed.
Is there a way to automatically disable object-cache.php when a core update is in progress then flush the cache and re-enable object-cache.php when the update is successful?
I feel like this may also be required when performing plugin updates or even theme updates?
This issue probably presented on previous core updates but we're new to Memcached.
Oliver
The text was updated successfully, but these errors were encountered:
This isn't a change that should be needed - WordPress should gracefully handle the object cache being enabled during upgrades.
Infact, not only should it not be needed, but the action suggested above reads like it would cause this exact problem.
What's likely happening is that the object cache is caching old alloptions data, likely from DB replication lag (if you have multiple DB servers) or different versions of code setting the same cache key.
I realise this isn't helpful to provide a solution for you, but the report is of something that I know has plagued object caches in the past, and has mostly been resolved, and is not something that I'm aware of many still encountering.
We found with the latest WordPress v6.5 update that when updating core, it is not just necessary to rename or delete
object-cache.php
but also to then flush the cache before re-enablingobject-cache.php
.If this doesn't happen, when you try to access the dashboard, the site tries to update the WordPress database but displays a notice to say it's already been updated and directs the user to the home page rather than the dashboard preventing access to the dashboard until
object-cache.php
has been disabled or the cache has been flushed.Is there a way to automatically disable
object-cache.php
when a core update is in progress then flush the cache and re-enableobject-cache.php
when the update is successful?I feel like this may also be required when performing plugin updates or even theme updates?
This issue probably presented on previous core updates but we're new to Memcached.
Oliver
The text was updated successfully, but these errors were encountered: