Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

Problem:
The client manually installed a new WPML update because it wasn't showing in the WordPress updates section or in plugins, which resulted in a critical error on the website.
Solution:
We logged into the site and attempted to update the WPML plugins via the Plugins -> Add New -> Commercial page. However, the site was still pointing to localhost, which we identified from the WPML -> Support page notice indicating the site was detected at localhost. This could interfere with updating plugins from a publicly mapped address.

To resolve this, we deactivated all plugins, switched to the standard WP theme 2025, updated the WPML plugins (WPML, String Translation, and WCML), and then reactivated these along with WooCommerce. After these steps, the fatal error was no longer present.

We recommend the client to try reproducing the issue with the current setup and report the steps if the error reoccurs. Additionally, we advised using PHP 8.2 until newer versions are fully supported, as PHP 8.4 is still in beta support by WordPress. For more details on PHP compatibility, visit WordPress PHP Compatibility.

If this solution does not resolve your issue or seems outdated, please check related known issues at https://wpml.org/known-issues/, verify the version of the permanent fix, and confirm that you have installed the latest versions of themes and plugins. If the problem persists, we highly recommend opening a new support ticket 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: 

This topic contains 0 replies, has 0 voices.

Last updated by omarA-71 1 week, 1 day ago.

Assisted by: Waqas Bin Hasan.

Author Posts
March 18, 2025 at 11:12 am #16829673

omarA-71

Background of the issue:
I installed the new WPML update manually because it didn't show in the WordPress updates section or even in plugins. After installation, the website got nuked to the ground. Link to a page where the issue can be seen: hidden link

Symptoms:
There has been a critical error on this website. Please check your site admin email inbox for instructions.

Questions:
Why did the manual installation of the WPML update cause a critical error?
How can I resolve the critical error after the WPML update?
I uploaded txt file of nginx error logs. Showing fatal error caused by WPML!

March 18, 2025 at 11:20 am #16829737

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Hi,

Reference to our recent chat, may I ask for the debug information of your website for an overview of your setup? See https://wpml.org/faq/provide-debug-information-faster-support/ for more information.

I've enabled the debug information section for your next reply.

Additionally you can also take a look at https://wpml.org/faq/checklist-before-opening-a-ticket-in-wpml-support/ and cross-check for a few initial fixes.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

Regards.

March 18, 2025 at 11:25 am #16829751

omarA-71

debug provided

This is from stored backup that is 12 hours old.

March 18, 2025 at 11:29 am #16829754

omarA-71

...

March 18, 2025 at 12:25 pm #16830098

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for the updates.

Can you please try the following?

1) Take a full backup of your site and database before proceeding. It is highly advised to try these on a dev or staging site first, so your live site isn't compromised.
2) Deactivate all plugins except WPML and String Translation.
3) Switch to a standard theme like 2024 or 2021.
4) Update to the latest versions of WPML and check for the issue if it still happens.

Please let me know and I'll try my best to help you further on the matter.

March 23, 2025 at 9:43 am #16848370

omarA-71

Did that. It updated successfully.

Once I tried to reactivate all plugins. It threw critical error.

So next step will be waiting for a day until new backup is made. Then will try to reactivate one by one and figure which plugin is causing the issue.

But this is from WPML the new updated version is conflicting with a plugin!

March 24, 2025 at 5:13 am #16849584

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Sure, please take your time and let me know your findings, along with the details on the critical error(s) you get during the process.

March 24, 2025 at 9:27 pm #16854106

omarA-71

It's my theme's plugin. nasa-core

But the Elessi theme is advertised as WPML compaitable. I already opened support ticket with them.

March 25, 2025 at 4:01 am #16854608

Waqas Bin Hasan
Supporter

Languages: English (English )

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

Thank you for the updates.

Yes Elessi Theme is WPML compatible. However, sometimes new changes within the theme, accompanied plugins or in overall system can render to incompatibility issues.

Please feel free to share the information you get from theme support and we'd love to accommodate/incorporate on our end as needed.

March 25, 2025 at 5:02 am #16854637

omarA-71

I disabled all plugins except wpml. Reactivates nasa-core and same error got thrown.

I doubt anything is changed. It’s WPML not compatible.

March 25, 2025 at 9:05 am #16855560

Waqas Bin Hasan
Supporter

Languages: English (English )

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

I need to take a closer look at your site. So I request temporary access (WP-Admin and FTP), preferably to a test site where the problem has been replicated.

Your next answer will be private, to share this information safely.

Also provide detailed steps to reproduce the issue and links to pages in the admin and on the frontend.

IMPORTANT: Please take a complete backup of the site to avoid data loss. I may need to activate/deactivate plugins also.

See https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/ for details on privacy and security.

P.S.: If you don't see the section for providing access information, do not write in the message box or the information may appear as public.

March 31, 2025 at 5:32 am #16877370

omarA-71

FTP is prepared for the staging site. Please allow me to reply privately now.

March 31, 2025 at 9:09 am #16878155

omarA-71

Theme make and nasa-core plugin maker response:

Hello,

Thank you for reaching out to us.

I’ve checked the error logs, and there’s no indication that Nasa Core Plugin is causing the issue.

The errors seem to be related to WPML (sitepress-multilingual-cms), specifically missing the /templates/tm-menus/ directory and issues with the Twig template loader. Additionally, the ReflectionException: Class “WPML\TranslationRoles\Service\AdministratorRoleManager” does not exist error suggests a possible conflict or missing files within WPML.

Since you’re already using the latest WPML version and have reached out to their support, I recommend:

Downgrading PHP to 8.1 or 8.2 to check if the issue persists.

Waiting for WPML’s response, as it might be an incompatibility with PHP 8.4.

Let me know if you need any further assistance!

Regards,
NasaTheme team

March 31, 2025 at 10:20 am #16878622

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

Waqas is OFF today, so I will be helping with the issue.

It could be that the update went wrong and some files are missing.

1) Delete your current WPML plugins, and then manually upload ZIP file that you can download from next link: https://wpml.org/download/wpml-multilingual-cms/?section=changelog

Please make sure to create a backup, before doing any actions, just in case.

2) If you still have issues, please create a staging site and share with me FTP and wp-admin access so I can check the issue further. I tried to access URL you shared before, but I get "Site Not Found".

Regards,
Drazen

March 31, 2025 at 12:09 pm #16879151

omarA-71

Done that. Once I activated plugins it threw the same critical error.

https://pastebin.com/EfCp5mQg

so it's definetly this new version is not agreeing with already installed plugins.

Please fix that. I can give you access to my staging site on my local server with FTP access. But for now WP on staging site is down with critical error due to new WPML. Since I deleted the old one with all other WPML plugins.

Regards.