Hello,
I’m sorry but it’s kinda hard to understand your setup. From what I understand, here are some advices I can give you:
If you want to use PHP AutoSync, you should not remove the field groups from your administration. ACF Extended PHP AutoSync (and /acfe-php
folder) is supposed to work with Database field groups.
If you enable PHP Sync, every changes you make in your database field groups will be synced into PHP files. The site will not lose performance if you do this, because ACF will load the local PHP field group instead of doing database call when you will use get_field()
& other functions.
If you want to only have database field groups in your local development environment and not on the production site, please do as follow:
* Edit your field groups on the local environment
* Manually export your field group to PHP code
* Copy/paste PHP code to your theme functions.php
* During that step, check if acfe_flexible_layouts_placeholder
is set to 1
* Field group will appear in the Third Party tab
In order to understand what’s going on with acfe_flexible_layouts_placeholder
you need to follow those steps. If the key is not set, then there’s a problem with your local database field groups.
Hope it helps!
Regards.