This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing a 500 error when saving changes to widgets that include custom ACF-Gutenberg blocks with a Repeater field containing radio buttons and a select field, and the error message is 'strlen(): Argument #1 ($string) must be of type string, array given', this might be due to the way the fields are registered.
Solution:
We recommend adding
'wpml_cf_preferences' => 1,
to your repeater field in the ACF field settings. This adjustment should resolve the error. Additionally, ensure that you have registered the ACF Pro plugin and installed the Advanced Custom Fields Multilingual plugin to fully support multilingual functionality.
If this solution does not apply to your case, or if it seems outdated, please check the related known issues and verify that you have installed the latest versions of themes and plugins. If the issue persists, we highly recommend opening a new support ticket at WPML support forum for further assistance.
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.
This topic contains 0 reply, has 0 voices.
Last updated by 2 months, 2 weeks ago.
Assisted by: Noman.