Hello,
I have a problem with repeater field inside of custom post type in my clients website,
previously I had a problem that data that i inserted to the post got deleted.
I solved it with the support here (the fields group got duplicated twice because of wpml and it overwrite itself). we deleted the unused fields and it solved that problem.
now we inserted 2 post in the repaeter and the data didnt passed to the page. it returns only the count of the rows of the repeater (no array or object just string).
hidden link thats one page that we inserted the data to the repeater,
the field called 'downloads_repeater',
we passed a 'print_r' function after the call of the 'get_field' function.
you can see the problem under downloads (הורדות) tab.
Welcome to WPML Support. I'll do my best to help you solve this issue.
1) Does the issue still happen if you create a new dummy product and try the same?
2) Can you please share a video of your ACF groups / filed settings and the process where I can see you adding content for that field in default language and translating? This way I can easily see if any issue with the setup or configuration or process of translation?
If the issue doesn't happen on the new product if it isn't to many problems I would suggest deleting the current one and creating a new product. Since it could be there is a mix-up in DB for this product field and it causes problems for you.
Hi Darzen,
thank you for answering in short notice.
about the suggested solution, we dont want to delete the product and enter again the information, we have couple of products with the same problem who got translated already. it will cost us a lot of time to renter the data.
I can have a further look, but the issue should be visible with the WP default theme and/or simple code. As per our policy, we can not debug issues with custom code / theme.
I suggest you create a staging website and show us the issue there with a minimal simple environment.
Please make a full backup of your site (files and database) and confirm it in your next reply.
If possible please provide access to the staging website, not production.
Please note, that I might need to do some debugging procedures like enable/disable plugins, switch themes, change the default language of the user account, and/or access your website database to debug the issue furtherly.
I would need to access both your site's wp-admin and FTP account, if possible.
I have enabled the private username and password fields in your next reply.
I suggest you create a new user, set it as an administrator and then add those credentials in the private fields mentioned.
You can safely add your information into these fields.
You have set the main repeater fields to be TRANSLATE, which is not correct. Repeater fields should be set to COPY if you want to have the same number in both languages.