WIP: ACF data is null unless the page is saved in the Gutenberg editor

Browser: Chrome 110
OS: Windows

When creating a new page through the bricks editor, any ACF data used on that page is not initialized unless the page is resaved using the gutenberg editor.

Additionally, pages that are created before ACF data is added to the wordpress site have the same problem.

Steps to recreate:

  1. Create an ACF field group with some data (make sure the data will appear on the page you want it to in the field settings)
  2. In the bricks editor, create a new page from the pages menu.
  3. Go to the new page and add ACF dynamic data
  4. Save and publish the page and see that the data does not load
  5. Open the page in the wordpress editor, save, and see that the data then loads.

Hi,

I’m missing a step where we add data to the ACF field? How did you add it, if not in gutenberg?

Matej

From the admin dashboard, go to the ACF (or SCF) plugin on the sidebar. You then add the data by adding a new field group or adding new fields to an existing group.


Hmm, so you mean if the field has some default value?
Because if not, can you record a video form start to end, so that I’ll be able to replicate this?

Thanks,
Matej

Yes, when creating the field and filling in data at the start, that data doesn’t appear unless the page is saved with gutenberg.

You can see in the video where I input the default “testing 123” value, and how it appears / does not appear depending on how the page is made and saved.

Here is another video where I show how the data appears with no problem in elementor, but does not appear when using bricks. (I also noticed that elementor doesn’t seem to care about the location rules in ACF when I use it this way. I don’t know whether that matters here.)

Hi @Barrett,

thank you very much for this. I was able to replicate it and I’ve added it to our internal bug tracker. Once the issue is solved, we will update this topic.

Thanks,
Matej