Skip navigation

Помечено: 

Эта тема содержит 0 ответ, имеет 1 голос.

Последнее обновление: jacksonM-4 1 год, 1 месяц назад.

При содействии: Waqas Bin Hasan.

Автор Записи
7 мая, 2024 на 9:42 дп #15600710

jacksonM-4

Background of the issue:
I am implementing WPML on my website and encountered an issue while updating the Option acf page for the default language (English).

Symptoms:
When attempting to update the Option acf page for the default language, I receive a fatal error: 'Fatal error: Uncaught TypeError: count(): Argument #1 ($value) must be of type Countable|array, bool given in /var/www/site_files/wp-content/plugins/acfml/classes/Helper/HashCalculator.php:65'. However, updating the same Option page for additional languages (Spanish, German) works without issues.

Questions:
What could be causing the fatal error when updating the Option acf page for the default language?
How can I resolve the fatal error to successfully update the Option acf page for the default language?