This thread is resolved. Here is a description of the problem and solution.
Problem:
If you're experiencing a 'Uncaught TypeError' when saving a page in the original language with ACFML version 2.1.0 or above, and you have true/false fields or Google location fields on it, you're not alone.
Solution:
We recommend trying the following steps:
1. Turn off the option 'Keep repeater and flexible sub-fields in the same order as the default language' and update the post.
2. If the error persists, edit the
\plugins\acfml\classes\Helper\HashCalculator.php
file. On line 25, replace:
return self::hashArray( $value );
with:
return self::hashArray( (array) $value );
Please ensure you backup your database before making any changes. This should resolve the error.
Please note that this solution might be irrelevant due to being outdated or not applicable to your case. If the issue persists, we highly recommend checking the related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If you still need assistance, please don't hesitate to open a new support ticket in the WPML support forum.
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 15 replies, has 3 voices.
Last updated by 1 year, 9 months ago.
Assisted by: Andrey.