Gutenberg: ACF (Pro) fields dont save

Created on 30 Nov 2017  路  16Comments  路  Source: WordPress/gutenberg

Issue Overview

I have some test ACF Pro fields that display at the bottom of a Page. When I added content into one of the fields, a simple text field, and then clicked Update, it didn't save.

I'm raising this because #952 was just recently closed and it was stated that Custom Fields were "Feature Complete". I can't see how they can be called "Feature Complete" when they still don't save your content.

Steps to Reproduce (for bugs)

  1. Create ACF fields and display them on a Page (I have numerous fields, diaplying but I only added content into one simple text field
  2. Click Update and Update

Expected Behavior

Custom Fields should save

Current Behavior

Custom Fields don't save

You can download the json files for the fields that I have, from here. I had two sample Field Groups set up...
https://www.dropbox.com/s/npdoeqahfqq0ps3/group_58e48c86cc51e.json?dl=0
https://www.dropbox.com/s/tb9sayjy2c34wv8/group_5911300e9f97c.json?dl=0

_Firefox Quantum 57.0
Gutenberg Version 1.8.0
macOS Sierra 10.12.1_

[Type] Bug [Type] Plugin Interoperability

Most helpful comment

this is happening again....
Wordpress Version 5.0.2 ACF Pro Version 5.7.9
image

UPDATE: using 5.8.0-beta3 fixed the issue

All 16 comments

This is a duplicate of #3277 AFAIK and #3616 should fix it for most fields.

@youknowriad Can you please re-open this as custom field content still isn't saving. I just tried adding content into a simple text field and it didn't save, as per my original issue above.

_Gutenberg Version 1.8.1
ACF Pro Version 5.6.7_

@maddisondesigns Good catch, actually it's working but only on "saved" post but not "new" posts.

A few more notes:

  1. custom fields used in any other part of WP than posts/pages/CPTs work fine (options pags, menu items, etc).
  2. In my case, ACF is only saving the original values the first time you save the page. You can't edit any of the fields later.
  3. Regardless of where you are where you save the initial values (classic edit or edit) if you then open the page in gutenberg, all values are lost.

Same issue for me, latest version of Gutenberg (2.1.0) and ACF Pro (5.6.7)

Same issue here, same latest versions.

Just letting you all know that ACF just released an update which should fix issues with the fields not saving:
https://www.advancedcustomfields.com/blog/acf-pro-5-6-9-update/

Have just tried out the 5.6.9 ACF Pro update and my sample fields are saving now too. Haven't tried every ACF field but my sample text field and repeater fields seem to be saving ok.

Awesome, thanks for the continued testing and feedback!

I was running into a similar issue when using ACF Pro along with SiteOrigin Page Builder. After a lot of testing and troubleshooting, I figured out the problem:

Inside the PageBuilder settings, there is a checkbox for "Field Groups" under Post Types (where the page builder should appear/be active) and there is a checkbox for "Default To Page Builder Interface". If both are checked, the problem exists. If only one is checked, there doesn't seem to be an issue.

This may not be a solution for everyone, as not everyone uses SiteOrigin or page builders for that matter. Most page builders do offer similar settings, so it's something to look out for when troubleshooting.

Hope this was able to help someone.

this is happening again....
Wordpress Version 5.0.2 ACF Pro Version 5.7.9
image

UPDATE: using 5.8.0-beta3 fixed the issue

I have the same issue with latest ACF PRO (5.7.10) and Gutenberg plugin (4.9.0),
also with the warning message as above.

@audetcameron: Thank you for the hint! It saves correctly with the 5.8.0-beta3.

I have the same issue with ACF PRO (5.8.9) and can't solved this

Hi, I have updated ACF Pro to 5.8.11, and the checkbox field value is gone. Nor can I update the checkbox.
My checkbox is in a repeater. but other repeater fields works fine.
Is the database corrupted or something?

I have checked, all the checkboxes values are gone. Something must be different for checkboxes. I have tried 5.8.0-beta3, still not saving

Same issue with Avada Wordpress Theme. When i try to Update my post, ACF fields not saving value.

Was this page helpful?
0 / 5 - 0 ratings