AdvancedCustomFields / acf

Advanced Custom Fields
http://advancedcustomfields.com/
823 stars 168 forks source link

Unable to update to 6.2.0 #863

Closed darren-strategiq closed 10 months ago

darren-strategiq commented 10 months ago

I have noticed that on some sites, we are unable to update to version 6.2.0. All of our sites are hosted on WPEngine and the issue seems to be present on a staging environment where production is fine.

The issue is that the plugin reports an update but doesn't display an update button. If I try and update it by checking the box to perform a bulk upgrade, it fails saying the package could not be found.

Most of our staging environments are copies of production and meet the new minimum requirements as mentioned in the 6.2.0 changelog (WP >= 5.8 and PHP >= 7.0)

For context, the license key is correctly set and is active, the staging site in question is running WordPress 6.2.2 with PHP 7.4. The production version of this site is using the same WP and PHP version and has no issues in allowing me to update ACF.

Any advice would be appreciated.

Screenshot 2023-08-23 at 12 02 44
lgladdy commented 10 months ago

Hey @darren-strategiq,

Could you please drop us an email to support@advancedcustomfields.com so we can work through this with you?

If you're syncing from production to staging while an update is available, it's possible this error can happen because the production site URL and licence is trying to be applied to the staging site, but we can work with you to get a login and get this sorted!

Cheers, Liam

darren-strategiq commented 10 months ago

This has now been resolved with help from @lgladdy. To summarise, this issue is due to having Object Cache enabled in WPEngine which interferes with the update_plugins transient. Turning this off resolved our issue after clearing the caches.