Skip Navigation

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

Problem:
The client experienced a fatal error when attempting to update the WPML Multilingual CMS plugin due to a conflict with The Events Calendar plugin. The error occurred both on the live and staging environments, and persisted across different methods of updating the plugin.
Solution:
We recommended downloading the latest versions of WPML and its add-ons from https://wpml.org/account/downloads/ or via the Commercial tab in the Plugins section. We requested temporary access to the client's site to perform tests. After gaining access, we deactivated most third-party plugins and updated WPML and its add-ons. We then reactivated the plugins one by one, which did not reproduce the fatal error, suggesting the issue may have been resolved with the updates.

If this solution does not resolve your issue or seems outdated, we recommend checking for related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and ensuring you have installed the latest versions of themes and plugins. If problems persist, please open 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 2 replies, has 0 voices.

Last updated by johnM-88 1 week, 3 days ago.

Assisted by: Bobby.

Author Posts
March 19, 2025 at 1:58 am #16833012

johnM-88

Background of the issue:
I was trying to update to the latest version of WPML Multilingual CMS, 4.7.2, through the WP Dashboard > Add New Plugin > Commercial. After downloading the new plugin version, the activation process hung. I attempted to load the website in another browser window and encountered a fatal error. I manually deleted the WPML Multilingual CMS via FTP to restore access to the website. I deactivated The Events Calendar plugin and successfully updated WPML, but reactivating The Events Calendar caused the same fatal error. After restoring from a backup, I found another fatal error in the error log. If you would like the stack trace from both errors please let me know.

Symptoms:
Fatal Error: Conflict between WPML Multilingual CMS and The Events Calendar plugins. Uncaught Error: Call to undefined function icl_get_string_id() in /home/myusername/mywebsite.ca/wp-content/plugins/the-events-calendar/src/Tribe/Integrations/WPML/Rewrites.php on line 300. Another error: Fatal error: Uncaught Error: Class "AurynInjectionException" not found in /home/myusername/mywebsite.ca/wp-content/plugins/sitepress-multilingual-cms/vendor/rdlowrey/auryn/lib/Injector.php:422.

Questions:
How can I resolve the conflict between WPML Multilingual CMS and The Events Calendar plugins?
What steps should I take to prevent the fatal error after updating WPML?

March 19, 2025 at 10:08 pm #16837378

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

Please download the latest version of WPML and it's add-ons and test this, does the error resolve when using the latest versions?

You can download the latest versions from here:
https://wpml.org/account/downloads/

OR by going to Plugins->Add new -> Commercial tab -> Check for updates.

Let me know your results, please.

March 19, 2025 at 10:23 pm #16837393

johnM-88

Hi Bobby,

Thanks for your reply. As stated in my original message, updating to the newest plugin is what's causing the fatal error.

I have downloaded the plugin and tried to upload it using cPanel File Manager.
I've also tried through Plugins - add new - Commercial

Both methods of updating to newer WPML versions break my website's front and back ends. Please advise.

March 20, 2025 at 7:43 pm #16841774

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for updating me, in certain conditions the manual update can resolve this.

I would like to request temporary access (wp-admin and FTP) to your site to test the issue.
(preferably to a test site where the problem has been replicated if possible)

**Before we proceed It is necessary to take FULL BACKUP of your database and your website. Providing us with access, you agree that a backup has been taken **

I often use the Duplicator plugin for this purpose: http://wordpress.org/plugins/duplicator/
You will find the needed fields for this below the comment area when you log in to leave your next reply.
The information you enter is private which means only you and I have access to it.

NOTE: If access to the live site is not possible and the staging site does not exist please provide me with a duplicator package created with the duplicator plugin.

Thank you,
Bobby

March 21, 2025 at 5:23 pm #16845945

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Thank you for the access details!

I was able to update the WPML plugins and activate them alongside The Events Calendar with a minimum installation.

I activated plugins one by one but I was not able to reproduce the fatal error

March 23, 2025 at 7:32 pm #16849232

johnM-88

Hi Bobby,

When you say "with a minimum installation" does that mean you uninstalled all plugins before attempting to update WPML? Before I granted you access to the development site I was able to replicate the fatal error but did not deactivate anything before trying.

I was just able to replicate the error on the live site as well when I try updating WPML from Plugins > Add new > Commercial.

March 24, 2025 at 4:56 pm #16853445

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Yes, to be exact I deactivated most of the third party plugins.

The plugins that were left activated are as follows:

WPML + add-ons
Elementor + Elementor PRO

After I updated, I activated the plugins one by one in hopes to trigger a fatal error but that did not happen.

March 27, 2025 at 2:28 am #16865965

johnM-88

Thanks for the clarification.

I appreciate finding a workaround to the error but is there any way to drill down a bit more to find out why this is happening? Deactivating & reactivating almost all the plugins every time I update WPML is not a long-term solution, especially if I'm not the only person running updates in the future. Can this issue be escalated further? Thank you.

March 27, 2025 at 8:36 pm #16870459

Bobby
Supporter

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

I don't believe this is something that you will have to deal with again, I have seen similar issues in the past and most of the times it's a compatibility issue between 1 plugin that is most likely triggering a fatal error.

Which after the updates of plugins tends to be resolved.

If you would like me to look deeper into it we can attempt to reproduce the fatal error again if you can reproduce it on the site at the moment and go from there.

April 2, 2025 at 10:09 pm #16889306

johnM-88

Okay, I'll close this ticket then and hope that it does not happen again in future updates. I'll reach out if the problem persists. Thanks for your help.