Home›Support›English Support›[Resolved] Fatal Error: Conflict between WPML Multilingual CMS and The Events Calendar plugins
[Resolved] Fatal Error: Conflict between WPML Multilingual CMS and The Events Calendar plugins
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.
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?
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.
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.
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.
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.
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.
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.