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.
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.
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.
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.
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
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.
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.
Manage Cookie Consent
We use cookies to optimize our website and services. Your consent allows us to process data such as browsing behavior. Not consenting may affect some features.
Functional
Always active
Required for our website to operate and communicate correctly.
Preferences
The technical storage or access is necessary for the legitimate purpose of storing preferences that are not requested by the subscriber or user.
Statistics
We use these to analyze the statistics of our site. Collected information is completely anonymous.The technical storage or access that is used exclusively for anonymous statistical purposes. Without a subpoena, voluntary compliance on the part of your Internet Service Provider, or additional records from a third party, information stored or retrieved for this purpose alone cannot usually be used to identify you.
Marketing
These cookies track your browsing to provide ads relevant to you.