Background of the issue:
I am updating the Option acf page for the default language on my WordPress site using the WPML plugin.
Symptoms:
I encounter a fatal error specifically when updating the Option acf page for the English language, which is the default. The error message is: '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'. This issue does not occur for the other two languages on the site.
Questions:
How can I resolve the fatal error occurring only for the default language when updating the Option acf page?
Why does this error not appear for the other languages?
Thank you for your patience, our queue has been quite high lately. To answer your questions, I need to investigate it further. I located a similar issue and would like to test it on a staging version of your website, if you have one. This is the similar issue I mentioned:
If you don't have a staging version, I can make a copy of your website locally. To share access, you will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.
Maybe I'll need to replicate your site locally. For this, I’ll need to temporarily install a plugin called “Duplicator” or "All in One WP Migration" on your site. This will allow me to create a copy of your site and your content. Once the problem is resolved I will delete the local site. Let me know if this is ok with you.
IMPORTANT
- Please make a backup of site files and database before providing us access.
- If you do not see the wp-admin/FTP fields this means your post & website login details will be made PUBLIC. DO NOT post your website details unless you see the required wp-admin/FTP fields. If you do not, please ask me to enable the private box. The private box looks like this:
hidden link
The topic ‘[Closed] Fatal Error while updating the Option acf page for default language’ is closed to new replies.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.