[Resolved] ACFML2 Causing issues with some cloned fields
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing an issue where a 'Button Group' flexible content block is not displaying on the homepage after cloning their live site to a staging environment. This issue occurred after upgrading to ACFML2 and making changes to ACF field groups. The problem persists despite trying various settings, and the block reappears only when the ACFML plugin is disabled.
Solution: We recommend the following steps: 1. Create a fresh staging site from the live site. 2. Update WordPress Core, WPML CMS, String Translation, ACF, and ACFML to the latest versions, specifically ACFML (2.1.0). 3. Change the button field name to
button_group_repeater
. 4. Keep the clone field as Seamless. 5. Check if the issue is resolved.
Please note that the solution provided might be outdated or not applicable to your case. If the issue persists, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If necessary, do not hesitate to open a new support ticket for further assistance at WPML support forum.
This is the technical support forum for WPML - the multilingual WordPress plugin.
Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.
Our 2nd tier support team noticed that not all the fields appear on your site. (Kindly check the attached screenshot)
The screenshot shows the custom fields section in my local server, which is the same as our 2nd tier support team's local installation.
Please deactivate all of your server cache and check if you can see the same fields. Also, please check if you have something on the server that kills database queries.
Thanks or the reply. Object cache is disabled on this server so no DB queries are being cached. Nothing should be affecting queries as far as I know.
Have you done a search replace on the database to replace _button_group_ with _button_group_repeater_ on your local server but not on the staging server?
I have a local install on my computer already. If I goto "Content Type: Button Group — To Clone" and change button_group to button_group_repeater and search for that field on the WPML > Settings page I get no results. Did you do anything else besides change that field name?
It's strange that on the local installation, we don't see the same result as your site. Here is a copy of my local installation for you to check. (hidden link)
Please check it and let me know if you can see the fields and if the buttons work correctly.
I installed that locally and I see the same as what you have locally. However I have my local install that I pulled down from staging and I am still seeing the blank "button group" on the homepage with no buttons to interact with.
I'd like to clone the live site to staging again and also pull down staging to my local server and then ask that you recreate the steps you performed and see if the results are the same across all instances. Can we do that?
My client has grown a bit impatient and they are pushing for us to switch to GTranslate. Hopefully we can resolve this before that gets decided.