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.
Tagged: Bug
This topic contains 16 replies, has 0 voices.
Last updated by Kor 1 month, 3 weeks ago.
Assisted by: Kor.
| Author | Posts |
|---|---|
| February 24, 2026 at 10:20 am #17845425 | |
|
Reinhold |
Hi WPML Support Team, after updating ACFML to version 2.2.0, we’re running into a critical error whenever we try to save one of our existing options pages. As soon as we click “Save”, WordPress throws a critical error message. The issue seems to be directly related to the ACFML update, as everything was working fine before upgrading. Here’s the relevant server error log entry: Could you please let us know: Thanks in advance for your help! |
| February 24, 2026 at 10:36 am #17845776 | |
|
Kor |
Thanks for your patience. Here is the ticket and I will need to closely examine your website. Therefore, I will require temporary access (WP-Admin and FTP) to a test site where the problem has been replicated, if possible. This will enable me to provide better assistance and determine if any configurations need to be modified. Please note that it is important to have a backup for security purposes and to prevent any potential data loss. You can use the UpdraftPlus plugin (https://wordpress.org/plugins/updraftplus/) to fulfill your backup requirements. Your upcoming reply will be treated with confidentiality and will only be visible to you and me. ✙ To resolve the issue, I may need your consent to deactivate and reactivate plugins and the theme, as well as make configuration changes on the site if necessary. This emphasizes the significance of having a backup. |
| February 24, 2026 at 10:40 am #17845785 | |
|
Reinhold |
Hi Kor, Unfortunately, we’re not able to share WP admin credentials. However, I’m a bit confused about the situation: According to the ticket you shared, the workaround/fix was already included in version 2.1.0. We are currently running ACFML 2.2.0, so the fix should already be part of this release, correct? That’s why I’m not sure why we’re still hitting the same `md5(): Argument #1 ($string) must be of type string, array given` fatal error when saving our existing options page. Could you please clarify: * Was the fix from 2.1.0 fully merged into 2.2.0? Thanks again for your support! |
| February 24, 2026 at 12:08 pm #17846414 | |
|
Kor |
Thanks for your reply. Yes, that’s correct. According to the errata ( https://wpml.org/errata/advanced-custom-fields-uncaught-typeerror-md5-argument-1-string-must-be-of-type-string-array-given-in/ ), this issue has already been fixed in the latest version. I’ll need to investigate further to understand what’s happening on your site. Would you be able to clone the site to a staging environment so I can take a closer look? If there’s any sensitive information, you can exclude it from the copy. Alternatively, you can provide a copy of the site by following the instructions here: https://wpml.org/de/faq/provide-supporters-copy-site/ |
| February 24, 2026 at 2:25 pm #17847240 | |
|
Reinhold |
Hi Kor, I’ve created a clean staging environment with a minimal setup where the issue is reproducible: hidden link You can find the login credentials here: hidden link The affected options page is called “Option Page for WPML”. On this staging site, you should be able to reproduce the issue by: - Going to the options page This immediately results in the same fatal error (md5(): Argument #1 ($string) must be of type string, array given). The setup is intentionally minimal (only the necessary plugins and field configuration) to make debugging easier. Please let me know if you need anything else. Thanks a lot for taking a closer look Best regards |
| February 25, 2026 at 6:39 am #17849409 | |
|
Kor |
Thanks for your patience. I navigated to the ACF field group here: I changed the translation setting as shown in the screenshot, and then switched it back to its original configuration. After that, editing the WPML Options Page here: Could you please check and confirm from your side? |
| February 25, 2026 at 7:51 am #17849747 | |
|
Reinhold |
Good morning, I can confirm that saving is now working properly on my end as well. Does this mean that the behavior we experienced is a bug that will be fixed in an upcoming update? At the moment, we’re unable to roll out the new ACFML version across all of our production websites (around 270 sites) until this is officially resolved. We’d appreciate a short confirmation on how this will be handled and whether a permanent fix is planned. Thanks again for your support in the meantime. Best regards, |
| February 25, 2026 at 10:40 am #17850723 | |
|
Kor |
Thanks for your reply. I’m not entirely sure this is a bug in the latest version, as I was able to resolve the issue by simply resaving the translation settings of the ACF field group. It seems possible that the translation options were not saved properly earlier, which may have caused the issue when trying to save. Could you perform a backup and test this on a few production sites to see if it works? |
| February 25, 2026 at 12:49 pm #17851584 | |
|
Reinhold |
Hi Kor, Also, this issue did not occur in the previous version, so resaving would only be a temporary workaround, not a real solution. In version 2.2.0, new functions were added for the option page, which we believe could be related to this bug. Please see the error log again—it clearly indicates a problem in ACFML. While resaving the settings works on production sites, as mentioned, this is not an acceptable solution for our workflow, because resaving causes already defined translation settings for the fields to be lost, so it’s not an option for us. For this reason, I ran some local tests and have narrowed down the problem: I analyzed the field group, and the issue only occurs with the following fields: ```json Specifically, the field with the key 'field_5f51e07d239d8' has the translation setting value 2 ("wpml_cf_preferences": 2), which corresponds to “Translate”. If I change this field’s value to 1 ("wpml_cf_preferences": 1), saving works perfectly. This strongly indicates that the issue is related to the "wpml_cf_preferences": 2 setting in this particular field group configuration. We hope this information helps to reproduce and fix the issue in a future release. Thanks again for your support! Best regards, |
| February 25, 2026 at 4:40 pm #17852432 | |
|
Kor |
Thanks for your reply. I will have to escalate this. Could you please replicate the issue on our sandbox site here? hidden link I've installed the ACF PRO plugin and activated it with a license key. Once replicated, I will forward this to our 2nd Tier Support for further investigation. |
| February 26, 2026 at 7:18 am #17853947 | |
|
Reinhold |
Good morning, I just checked the sandbox site and noticed that ACFML (Advanced Custom Fields Multilingual) is not installed there yet. Could you please install and activate ACFML on the sandbox as well? As soon as it’s installed, I’ll go ahead and configure everything and replicate the problem for your 2nd Tier Support. Thanks a lot for your help! Best regards, |
| February 26, 2026 at 7:22 am #17854097 | |
|
Kor |
Thanks for your reply. You mentioned that the issue only occurs when updating from an older version. Could you please let me know which version you were using previously? I will install that specific version so we can try to replicate the issue while updating the ACFML plugin. |
| February 26, 2026 at 9:16 am #17855544 | |
|
Reinhold |
Would it be possible to use our staging environment instead? The issue is already reproducible there. On your sandbox, I would first need to configure a large number of WPML settings to match our setup before I could even start reproducing the problem. Since our staging environment already mirrors the full configuration, it would be much more efficient to investigate the issue there. You can access the staging site here: I’ve also enabled debug mode on our staging environment so that your 2nd level support / developers can directly review detailed logs if needed. Please let me know if that works for you. Thanks a lot! |
| February 26, 2026 at 7:39 pm #17857915 | |
|
Kor |
Thanks for your reply. Please allow me to escalate this further to our 2nd Tier Support for further investigation. I will get back to you once I've feedback. |
| March 2, 2026 at 6:10 pm #17866043 | |
|
Kor |
Thanks for your patience. I’ve received feedback from our 2nd Tier Support team, and they are aware of this issue. The current workaround is to downgrade the ACFML plugin. Our developers are actively reviewing the problem, and I will update you once I have further information. |

