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?
إدارة الموافقة على ملفات تعريف الارتباط
نستخدم ملفات تعريف الارتباط لتحسين موقعنا الإلكتروني وخدماتنا.
تسمح لنا موافقتك بمعالجة بيانات مثل سلوك التصفح.
قد يؤثر عدم الموافقة على بعض الميزات.
وظيفي
نشط دائماً
مطلوب لكي يعمل موقعنا الإلكتروني ويتواصل بشكل صحيح.
التفضيلات
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
الإحصائيات
نستخدمها لتحليل إحصائيات موقعنا.
المعلومات التي يتم جمعها مجهولة الهوية تماماً. التخزين الفني أو الوصول الذي يتم استخدامه حصريًا لأغراض إحصائية مجهولة الهوية. بدون أمر قضائي، أو الامتثال الطوعي من قبل مزود خدمة الإنترنت الخاص بك، أو سجلات إضافية من طرف ثالث، لا يمكن عادةً استخدام المعلومات المخزنة أو المسترجعة لهذا الغرض بمفردها لتحديد هويتك.
التسويق
تقوم ملفات تعريف الارتباط هذه بتتبع تصفحك لتقديم إعلانات ذات صلة بك.