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
9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 9:00 – 15:00 - -
- - - - - - -

Supporter timezone: Asia/Yerevan (GMT+04:00)

Tagged: 

This topic contains 0 replies, has 1 voice.

Last updated by Christopher Amirian 3 weeks, 1 day ago.

Assisted by: Christopher Amirian.

Author Posts
March 9, 2025 at 10:25 pm #16793765

issamR-2

Background of the issue:
I am trying to use the front end automatic translation feature on my site hidden link. I followed the documentation for automatic translation using the new automatic translation feature.

Symptoms:
I started getting a fatal error when I switch the language from English to Arabic.

Questions:

March 10, 2025 at 1:03 am #16793955

Noman
Supporter

Languages: English (English )

Timezone: Asia/Karachi (GMT+05:00)

Hi,

Before your ticket is assigned to one of my colleagues, I'd like to guide you through some initial debugging steps to speed up the support process.

1. I tried to visit your site and it seems the site is in coming soon mode. Are you facing this issue in particular products or do all Arabic pages/products have the same issue?

2. Could you please enable error reporting on your site as we need to see the details of the latest error log to understand the cause of the issue better. To enable it, open your ‘wp-config.php’ file and look for ‘define(‘WP_DEBUG’, false);’. Change it to:

// Enable WP_DEBUG mode
define( 'WP_DEBUG', true );
 
// Enable Debug logging to the /wp-content/debug.log file
define( 'WP_DEBUG_LOG', true );
 
// Disable display of errors and warnings
define( 'WP_DEBUG_DISPLAY', false );
@ini_set( 'display_errors', 0 );
 
define( 'SCRIPT_DEBUG', true );

After adding the above code, please try reloading the backend/frontend again, and if this process creates a debug.log file in your site's wp-content directory. Please send us its contents.

Here is a doc for more details:
https://wpml.org/documentation/support/debugging-wpml/

Kindly let us know the results,
Thank you

March 10, 2025 at 7:06 am #16794529

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for providing the message. It seems to be similar issue with this:

https://wpml.org/errata/php-8-php-fatal-error-uncaught-valueerror-unknown-format-specifier-in/

So there is a translation that has an issue maybe a wrong %s translated as the errata mentioned.

I suggest that you search in WPML > String translation for: Ø

See if you find results, if so make sure the translation of them is correct.

Thanks.

March 10, 2025 at 7:34 am #16794577

issamR-2

hello,

i have tried to find find the culprit string or strings but couldn't. can you please help and show me the proper way to format the Arabic translation for these kind of strings.

thank you

March 10, 2025 at 3:05 pm #16797215

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

I'd appreciate it if you could give me the URL/User/Pass of your WordPress dashboard after you make sure that you have a backup of your website.
It is absolutely important that you give us a guarantee that you have a backup so if something happens you will have a point of restore.

Make sure you set the next reply as private.

I will try to see if I can find the problematic string.

March 11, 2025 at 6:20 am #16799428

issamR-2

Hello Christopher

any update ? i need to reopen the website as soon as possible.

thanks

March 11, 2025 at 4:39 pm #16802953

issamR-2

Dear Support

I operate an e-commerce website, and I've encountered a critical issue related to WPML that forced me to temporarily disable my site.

Your prompt assistance in resolving this matter is greatly appreciated.

Please let me know the next steps or any information you require from my side.

March 11, 2025 at 5:07 pm #16803091

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for your patience. We do our best here to see if we can find the reason the issue is happening.

What we have found for now is that a file called elementor-pro-ar.mo had problems and as soon as the file is removed the inner pages for the Arabic version of the website work ok:

hidden link

But the homepage AR version does not work correctly.

This will need more investigation and that means we can not do it on a live website.

We either need you to create a staging/copy version of the website so we can do an investigation or you give us permission to copy your website to our server to check.

the first line of action would be checking a minimal installation:

- IMPORTANT STEP! Create a backup of your website. Or better approach will be to test this on a copy/staging version of the website to avoid any disruption of a live website.
- Switch to the default theme such as "TwentyTwenty" by going to "WordPress Dashboard > Appearance > themes".
- Go to "WordPress Dashboard > Plugins" and deactivate all plugins except WPML and its add-ons.
- Check if you can still recreate the issue.
- If not, re-activate your plugins one by one and check the issue each time to find out the plugin that causes the problem.

If you decide to provide us a copy of the website please set the next reply as private.

Just for your information, this will take time as we need to do many tests and troubleshooting to be able to find out why the homepage specifically has the issue. But the other pages seems to be working ok

Screenshot 2025-03-11 at 9.04.15 PM.png
March 12, 2025 at 2:59 pm #16807878

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you very much for the login information. Unfortunately, the server protection info is not working.

I understand that this is urgent and I want to do my best to speed up the process, Would you please check the information you share ot make sure you added them correctly?

If it will speed up the process we can copy your website to our server via cloudways if you give us permission.

You can set the next reply as private.

Thanks.

March 13, 2025 at 2:45 pm #16812576

Christopher Amirian
Supporter

Languages: English (English )

Timezone: Asia/Yerevan (GMT+04:00)

Hi,

Thank you for the screenshots. I managed to login. The homepage issue is different from the previous fatal error.

The fatal error was fixed by removing the elementor.mo file from wp-content/languages/ folder.

But the homepage issue is happening because of the WP Meteor plugin.

As soon as I deactivate that plugin the site works ok.

The issue happens in combination of WP Meteor, Elementor, and WPML String Translation plugins.

It seems that the plugin does something that we are not aware to create the homepage issue.

Thanks.

The topic ‘[Closed] fatal error’ is closed to new replies.