This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing frequent fatal errors due to an ArgumentCountError in the WPML String Translation plugin. Additionally, there are issues with the automatic translation of the homepage into Bulgarian using DeepL, where certain sections like the video title, footer, and contact form are not displayed correctly.
Solution:
For the fatal error, it appears to be a bug related to the sprintf function in the WPML String Translation plugin, which misinterprets URL-encoded characters as formatting placeholders. We recommend creating a staging copy of the site and providing access to our support team for further investigation and to potentially escalate the issue.
Regarding the homepage translation issues, these are likely due to the ACF configuration. The homepage must be translated manually using the WordPress Editor, not via the Translation Editor, due to the ACF configuration settings. Specific steps include translating the footer menu and contact forms as outlined in our guides (Translating Menus and Using Contact Form 7 with WPML). Additionally, ensure all images and logos are set to copy for the slider to function correctly in the translated version.
If these solutions do not resolve the issues or if they seem outdated or irrelevant to your case, please open a new support ticket. We highly recommend checking related known issues (https://wpml.org/known-issues/), verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. For further assistance, visit our support forum at 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.
Tagged: Bug
This topic contains 11 replies, has 0 voices.
Last updated by Carlos Rojas 3 weeks, 3 days ago.
Assisted by: Carlos Rojas.
| Author | Posts |
|---|---|
| April 28, 2026 at 9:05 am #17999102 | |
|
sebastianB-37 |
I'm getting this kind of error frequently, can you please investingate. I have already updated all the plugins and themes and core files. still getting the error. A fatal error occurred on hidden link Error Type: 1 Time: 2026-04-28 08:00:16 What caused the issue? If the file path it is scanning happens to naturally contain % symbols (e.g., %20 for spaces or other URL-encoded characters), sprintf mistakenly interprets these as formatting placeholders that require arguments. Since the path being scanned had 65 % characters and sprintf was only provided with 1 argument (the locale), it threw an ArgumentCountError: 66 arguments are required, 2 given and crashed your site. --> it would be great if you fix the issue from the plugin and release the patch officially. thanks. |
| April 28, 2026 at 12:57 pm #17999841 | |
|
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hello, I agree that this looks like a possible bug in our code. However, before I can escalate it to our 2nd-tier support team, we need to reproduce the issue and document the exact steps. Could you please do the following? 1.- Create a staging copy of the live site and share temporary WordPress admin and FTP/SFTP access in your next reply. I have enabled the private reply fields for this. Alternatively, you can share access to the live site and explicitly authorize us to create a copy for debugging. 2.- Please describe the exact step-by-step process to trigger the error on the site. 3.- Share the site’s debug information following this guide: Once we have this information, we can investigate further and escalate it properly if confirmed. Kind regards, |
| May 8, 2026 at 4:52 am #18021583 | |
|
sebastianB-37 |
Apologies for the late reply. Let’s leave that issue for now, as I currently have another priority issue. Could you please check the Bulgarian version of the homepage: I used DeepL auto-translation for the homepage content in Bulgarian, but some sections are not being translated or displayed correctly. For example: * Video section title and description are missing Could you please check why the entire page translation is not appearing properly? Site should not go down, please take care of it. so when WPML >> Translation Dashboard >> Pages >> select Home >> and translate the page using credits. it translate successfully but some pasrt are missing. |
| May 8, 2026 at 10:55 am #18022534 | |
|
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi there, To translate the homepage, you have to use the WordPress Editor (manual translation) due to the ACF configuration. In this link, you can translate/update the translation of the Bulgarian version: hidden link Note: I had to remove the credentials you shared because they were publicly accessible. |
| May 9, 2026 at 6:46 am #18024071 | |
|
sebastianB-37 |
Before I have only two language but now I want 10+ language to translate so it will take too much time to manually translate. what should I do if I want to translate homepage auto using DeepL? Also please check the (ACF > Field Groups), around 86 Field Groups, and almost every group is duplicated 2 or 3 times (e.g., three copies of "Article Single", three copies of "Case Studies", three copies of "About Us"). Why this happened? |
| May 9, 2026 at 11:57 am #18024378 | |
|
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi there, I kindly ask you to focus on solving one issue. As per the support forum's policies, we can only solve one issue per ticket; new issues will require me to split the tickets to handle them individually. To answer your latest question: I don't know exactly what steps you followed to set up the ACF groups, but the behavior you are describing corresponds to changing the ACF Group custom post type from translatable to non-translatable in WPML -> Settings -> Post type translations. |
| May 11, 2026 at 4:44 am #18025656 | |
|
sebastianB-37 |
Previously, I was using manual translation, but now I want to use auto-translation. The problem is that it’s still not translating properly. Please provide the best approach for handling translations so I can translate pages efficiently into 10+ languages. |
| May 11, 2026 at 8:39 am #18026324 | |
|
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi, The best approach to translate the content into 10 languages is by following the steps described in this guide: https://wpml.org/documentation/automatic-translation/translate-everything-automatically/ Best regards, |
| May 12, 2026 at 1:53 pm #18030782 | |
|
sebastianB-37 |
It's not technical answer, can you please forward me to a technical so my issue can understand that why particular section are not tanslating? |
| May 13, 2026 at 8:40 am #18032183 | |
|
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi, In each message, you have asked different questions, and I explained that we can only solve one issue per ticket. I kindly ask you again to focus on only one issue that we can solve in this ticket, and then we can move on with the other issues or questions you may have. Your latest message seems to be related to another problem, or lacks context to understand precisely what is the section you are referring to. Could you please read the messages in this ticket and elaborate more on your latest message so I can have a better understanding? What section are you referring to? What technical explanation are you looking for? |
| May 13, 2026 at 1:29 pm #18033385 | |
|
sebastianB-37 |
Could you please check the Bulgarian version of the homepage: I used DeepL auto-translation for the homepage content in Bulgarian, but some sections are not being translated or displayed correctly. For example: * Video section title and description are missing - * Footer area is missing some menus - * Contact form is not showing: * Slider section above the footer in German: hidden link Could you please check why the entire page translation is not appearing properly? so when WPML >> Translation Dashboard >> Pages >> select Home >> and translate the page using credits. it translate successfully but some pasrt are missing. German Homepage: hidden link |
| May 13, 2026 at 4:30 pm #18033963 | |
|
Carlos Rojas WPML Supporter since 03/2017
Languages: English (English ) Spanish (Español ) Timezone: Europe/Madrid (GMT+02:00) |
Hi there, 1.- When editing the homepage in German (default language), I can't find the section missing on the Bulgarian version, the one starting with "Für ein großes Bauteilspektrum: Zwölf Modelle". Can you tell me where I can edit that content in German? 2.- You can translate the footer menu into these links: By following the steps described in this guide: https://wpml.org/documentation/getting-started-guide/translating-menus/ Let me know if you find any issues with these steps. 3.- To translate and show the contact forms created with Contact Form 7, you need to: I recommend that you read this simple guide: https://wpml.org/documentation/related-projects/using-contact-form-7-with-wpml/, which explains the steps to follow. 4.- There is a JavaScript error in the console when visiting the Bulgarian version of the homepage that seems to be related to the slider. The first step is to set all the logos and image files to copy (I tried to set most of them) and make sure the Bulgarian version contains the images so the slider can work correctly. If you continue seeing this issue after the steps mentioned above, then we will take a look at this separately. Summarizing: Yes, some parts of the translated homepage are missing because they are set to be non-translatable or copy-once. Also, the homepage must be translated manually, not via the Translation Editor. When you edit the homepage in German: hidden link, you will find an alert message at the top that reads: "You need to translate this post manually because the field groups attached to it use different translation options." and it is because of the ACF configuration. I kindly recommend you start by reading this guide: https://wpml.org/documentation/related-projects/translate-sites-built-with-acf/ because your homepage depends on the configuration of the ACF. |