Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 10:00 – 14:00 - -
16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 16:00 – 20:00 - -

Supporter timezone: Asia/Jerusalem (GMT+03:00)

Tagged: 

This topic contains 0 replies, has 0 voices.

Last updated by yousefifardH 12 hours, 26 minutes ago.

Assisted by: Itamar.

Author Posts
April 6, 2025 at 6:59 pm #16901887

yousefifardH

Background of the issue:
I’m facing a persistent issue with my WordPress site when using Elementor and WPML together. The site works fine in the default language (English), but I get a fatal error when switching to the second language (Arabic). I have deactivated Elementor, and the error disappears. I reinstalled the latest versions of Elementor, WPML, and related plugins, but the error persists. I restored backups multiple times, but the error still occurs, and now the automatic translation feature in WPML isn’t working properly like it did initially.

Symptoms:
Fatal error occurs when switching to the second language (Arabic) using Elementor and WPML.

Questions:
Is there any documentation that you are following?

April 6, 2025 at 7:14 pm #16901897

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

This ticket has been inactive for quite a while. I didn't get a reply from you. So, I've transformed this chat into a support ticket because you may still need our help.

Can you please share the fatal error you got?

Also, the debug info you attached shows that your server's WP Memory Limit is 40M. Our recommendations are to have the following as minimal requirements:

- PHP 7 and above (this OK with your installation) with a WP Memory Limit of at least 128MB while 256MB is recommended.

MySQL 5.6 and above.

Please follow this link for detailed documentation:

https://wpml.org/home/minimum-requirements/

Is it possible for you to change those to the minimum requirement?

You may need to contact your hosting provider for that. Meeting those baseline requirements is critical before debugging and sometimes solves issues you experience. The most important thing is to raise the WP Memory Limit. Please try to raise it before you contact your hosting company. You can do it from the wp-config.php file in your WordPress installation. Insert this code in that file:

/** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '256M' );

Add it before this line:

/* That's all, stop editing! Happy blogging. */

Could you please perform that procedure and see if it helps?

Regards,
Itamar.

April 6, 2025 at 9:01 pm #16901982

yousefifardH

Thank you for your response and for converting this into a support ticket. I appreciate your suggestions. However, the issue persists even after making the recommended changes.

debug.log

[06-Apr-2025 21:00:11 UTC] PHP Fatal error: Uncaught ValueError: Unknown format specifier "Ø" in /home/coi7xq4ukqn0/public_html/wp-content/plugins/elementor/core/document-types/page-base.php:185
Stack trace:
#0 /home/coi7xq4ukqn0/public_html/wp-content/plugins/elementor/core/document-types/page-base.php(185): sprintf()
#1 /home/coi7xq4ukqn0/public_html/wp-content/plugins/elementor/modules/floating-buttons/module.php(416): Elementor\Core\DocumentTypes\PageBase::get_labels()
#2 /home/coi7xq4ukqn0/public_html/wp-content/plugins/elementor/modules/floating-buttons/module.php(87): Elementor\Modules\FloatingButtons\Module->register_contact_pages_cpt()
#3 /home/coi7xq4ukqn0/public_html/wp-content/plugins/elementor/core/base/module.php(86): Elementor\Modules\FloatingButtons\Module->__construct()
#4 /home/coi7xq4ukqn0/public_html/wp-content/plugins/elementor/core/modules-manager.php(64): Elementor\Core\Base\Module::instance()
#5 /home/coi7xq4ukqn0/public_html/wp-content/plugins/elementor/includes/plugin.php(742): Elementor\Core\Modules_Manager->__construct()
#6 /home/coi7xq4ukqn0/public_html/wp-content/plugins/elementor/includes/plugin.php(660): Elementor\Plugin->init_components()
#7 /home/coi7xq4ukqn0/public_html/wp-includes/class-wp-hook.php(324): Elementor\Plugin->init()
#8 /home/coi7xq4ukqn0/public_html/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#9 /home/coi7xq4ukqn0/public_html/wp-includes/plugin.php(517): WP_Hook->do_action()
#10 /home/coi7xq4ukqn0/public_html/wp-settings.php(704): do_action()
#11 /home/coi7xq4ukqn0/public_html/wp-config.php(110): require_once('/home/coi7xq4uk...')
#12 /home/coi7xq4ukqn0/public_html/wp-load.php(50): require_once('/home/coi7xq4uk...')
#13 /home/coi7xq4ukqn0/public_html/wp-blog-header.php(13): require_once('/home/coi7xq4uk...')
#14 /home/coi7xq4ukqn0/public_html/index.php(17): require('/home/coi7xq4uk...')
#15 {main}
thrown in /home/coi7xq4ukqn0/public_html/wp-content/plugins/elementor/core/document-types/page-base.php on line 185

April 6, 2025 at 9:12 pm #16901987

yousefifardH

I’ve encountered a new issue in the WPML Translation Management dashboard. The page gets stuck on "Loading items..." and never loads the content (see the attached screenshot). This prevents me from managing translations effectively.

This issue appeared after the previous troubleshooting steps for the fatal error. The automatic translation feature is still not working properly, and now this loading issue has emerged. I’ve noticed that as long as Elementor is active, the Translation Management dashboard remains stuck on "Loading items...". When I deactivate Elementor, this issue doesn’t occur. I believe these problems (the fatal error and the loading issue) might be related to each other, possibly due to a compatibility conflict between Elementor and WPML.

I’ve attached a screenshot showing the Translation Management dashboard stuck on "Loading items...".

Screenshot 2025-04-07 003012.png
April 7, 2025 at 9:22 am #16903110

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

The fatal error you shared (Unknown format specifier "Ø") does not mention anything about WPML or one of its add-ons. I'm unsure if it relates to WPML, but we will continue to check things.

If you need further help with this, please share the access details to your site with me. I'm enabling a private message for the following reply.
Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Also, please allow me to take a copy of your site. I must install a plugin like Duplicator or All In One Migration for this. Please let me know if you agree.

Regards,
Itamar.

April 8, 2025 at 10:22 am #16908323

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for the access details.

1. Regarding the PHP Fatal error: Uncaught ValueError: Unknown format specifier "Ø" error.

Does it still happen?
If so, on which page can I see it?
Currently, I don't see any page where its translation is published.
All the pages are waiting for review.

2. The Translation Management dashboard is not loading issue.
I just checked the Translation Management dashboard, and it loaded fine. Please see the attached screenshot.

Has this problem been solved by now?

3. The حدث خطأ من نوع E_ERROR بسبب السطر 28 في الملف issue.
Toolset is another product we have. It requires a separate subscription from WPML.
Do you have a Toolset subscription?
I think you have not created any post type, taxonomy, or custom field with the Toolset plugin.
Do you need the Toolset plugin?
If not, then deactivate it, and this error should disappear.

Regards,
Itamar.

2025-04-08_13-12-28.jpg
April 8, 2025 at 10:35 am #16908382

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi again.

In addition to what I wrote above, please also proceed with the following.

1. Update Elementor to its latest version.

2. Finish setting up Media translation or deactivate it if you don't use it.
The Media translation plugin is required to switch images on translated pages. You can read more about the Media translation add-on here. Please see the attached screenshot.

https://wpml.org/documentation/getting-started-guide/media-translation/

3. Update WPML's DB. You should see a message about it in the admin. Please see the attached screenshot.

4. Complete the setup wizard for WooCommerce Multilingual & Multicurrency. Please see the attached screenshot.

After that, check to see if the problems have been solved.

Thanks,
Itamar.

2025-04-08_13-28-54.jpg
April 8, 2025 at 2:18 pm #16909940

yousefifardH

I had already completed these steps before, but since I restored the backup, I needed to set them up again. I have now completed the setup again. However, I’m still facing issues: when I confirm translations in the Translation Management section, I get an error. Additionally, when I visit the site in the second language with the URL /ar/, I still receive a fatal error. Could you please investigate this further? I’d really appreciate your help.

I’d like to add that when I deactivate the WPML String Translation plugin or Elementor, the fatal error no longer occurs.

Also, when I click on the translation option for a page, it doesn’t work.

Please note that this is a new site and there are no other issues with it. I’d really appreciate it if you could make some adjustments or settings on your end to resolve this, as I’m at a loss for what to do next. No matter what I try, I keep getting errors.

Screenshot 2025-04-08 1659488.png
Screenshot 2025-04-08 164015.png
April 8, 2025 at 7:58 pm #16910836

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I am sorry for any inconvenience you were caused.

On your profile page here: hidden link, I added a first and last name. Sometimes, not having them causes problems with reviewing translations. Unfortunately, it didn't help, so I'm consulting our second-tier supporters about this problem.

To check the fatal error in the Arabic language, I tried to connect with FTP to your site but received this error:
Error: Connection timed out after 20 seconds of inactivity
Error: Could not connect to server

Please allow me to take a copy of your site. I must install a plugin like Duplicator or All In One Migration for this. Please let me know if you agree.

Thanks,
Itamar.

April 8, 2025 at 8:51 pm #16910921

yousefifardH

I agree.

For the FTP issue, please change the host to greener.om and use port 21 with the same username and password.

April 9, 2025 at 1:42 pm #16914193

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Thanks,

I installed the All-in-One WP Migration and Backup plugin, took a copy of your site, and escalated this issue to our second-tier supporter.

After making a copy of your site, I removed the All-in-One WP Migration and Backup plugin from your site.

I'll keep you updated here on any news regarding this issue.

I appreciate your patience.
Itamar.

April 10, 2025 at 1:54 pm #16919005

Itamar
Supporter

Languages: English (English ) Hebrew (עברית )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

We solved the problem with the fatal error:

 Fatal error:  Uncaught ValueError: Unknown format specifier "�"

Now, this page, for example, works.
hidden link

The problem was that the placeholder New %s

1. In WPML -> Strings Translation, I searched for New %s.
2. I could see that "s" was translated. Please see the attached screenshot.
3. Then I translated it correctly like this: جديد %s

And this solved the problem.

We are still investigating the review translation problem (the main problem of this ticket). I'll update you once I have news about it.

I appreciate your patience.
Itamar.

2025-04-10_16-05-30.jpg
April 12, 2025 at 6:24 am #16924930

yousefifardH

Hello, thank you for your follow-up and for resolving the fatal error issue.

However, I’m still unable to confirm or review translations. Additionally, the manual translation option on pages is also not working.