DEV Community

Cover image for [SOLVED] ACF not saving data after WP 5 update
Luke Secomb
Luke Secomb

Posted on

[SOLVED] ACF not saving data after WP 5 update

If in doubt, duplicate your ACF Field group.

In all seriousness, this should solve any issues regarding not being able to save posts with nested ACF fields & repeaters.

If this does not work. Try adjusting the WP DB table wp_options -> option_name to a lower version. This will trigger the ACF DB update if needed.

Cover image credits: @steadyhandco

Top comments (4)

Collapse
 
8ctopotamus profile image
Josh

This worked! πŸ˜ƒ

Collapse
 
andrea_fenili_6891c3ca820 profile image
Andrea Fenili

Hello, I have the same (big) problem. Could you kindly explain better what I should do? I can have access to WP DB table but I don't understand which value I have to change.
Thank you very much.

Collapse
 
awps profile image
Andrei Surdu

In the WordPress xx_options table find the row where option_name is db_version and chage that to trigger DB update.

Collapse
 
awps profile image
Andrei Surdu

However, I will be very careful with this. I tried it (on localhost, obviously) and destroyed the entire site.