Эта тема решена. Вот описание проблемы и ее решения.
Problem:
After installing WPML, images stopped returning an array via get_field and instead returned the image ID. The client suspects the issue might be related to field grouping, but in a newly created group, this problem does not occur.
Solution:
First, we recommend updating ACF PRO to the latest version to ensure the issue isn't already resolved. Check if the problem persists when creating a new field group. Also, consider the language settings of your default site; temporarily disable WPML to see if the problem resolves. Additionally, set your field group to 'Not translatable' in the settings, as having it translatable can cause issues. More information on this setting can be found here: Advanced Custom Fields: Field Group Should Be Set as Not Translatable.
If this solution does not apply to your case, or if it seems outdated, please open a new support ticket. We also 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. For further assistance, you can contact our support forum at WPML support forum.
Это форум технической поддержки WPML – плагина для многоязычной WordPress.
Доступно для чтения всем, но только клиенты, купившие WPML, могут оставлять сообщения. Сотрудники WPML отвечают на сообщения форума 6 дней в неделю, 22 часов в сутки.
Эта тема содержит 5 ответов, имеет 2 голоса.
Последнее обновление: 9 месяцев, 1 неделя назад.
При содействии: Andrey.