Home›Support›English Support›[Resolved] Activating the translation plugin causes my site to crash with the message "There has been a critic...
[Resolved] Activating the translation plugin causes my site to crash with the message "There has been a critic...
This thread is resolved. Here is a description of the problem and solution.
Problem: The client is experiencing a critical error when trying to activate the WPML Multilingual CMS plugin on their WordPress site, causing the site to crash. Additionally, there is an issue with duplicate plugin versions appearing on the plugin page. Solution: We recommended the client to search for similar issues and solutions on our forums using a custom search URL: here. For the issue of duplicate plugin versions, we advised the client to open a new support ticket as per our support policy of handling one issue per ticket. Regarding the concern about needing to re-translate content after reinstalling the plugin, we assured the client that translations are saved in the database and will not be lost.
If this solution does not resolve your issue or seems irrelevant, we highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the problem persists, please open a new support ticket.
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 am trying to activate the WPML Multilingual CMS plugin on my WordPress site (hidden link), but it causes my site to crash. I received an email from WordPress with details about the error. The error occurred on the page hidden link. I can use the recovery mode link hidden link to access my dashboard safely.
Symptoms:
Activating the WPML Multilingual CMS plugin causes a critical error on my site with the message: 'There has been a critical error on this website. Please check your Site admin email inbox for instructions.' The error details include: 'An error of type E_ERROR was caused in line 131 of the file /home3/osucdhmy/public_html/eabacom/wp-content/plugins/sitepress-multilingual-cms/lib/twig/src/Environment.php. Error message: Uncaught Error: Class "WPMLCoreTwigExtensionCoreExtension" not found in /home3/osucdhmy/public_html/eabacom/wp-content/plugins/sitepress-multilingual-cms/lib/twig/src/Environment.php:131'.
Questions:
How can I activate the WPML Multilingual CMS plugin without causing my site to crash?
What steps should I take to resolve the critical error related to the WPML Multilingual CMS plugin?
I created a custom search URL for you so that you can quickly find the existing support tickets that are based on the same error message and that already contain solutions and explanations shared by my colleagues: hidden link
This way, you might find the solution faster and we might spend less time on this ticket.
Please take a look over the first results and let me know if you managed to get this resolved by following the steps shared by my colleagues.
After reviewing the link, I found that one of the existing problems is similar to my problem, and one of the suggestions to solve this problem is to move to another server, so the problem may be in the server, and another solution is to remove the add-on and reinstall it again by downloading it from the official website
Accordingly, I will try to solve the problem by removing the plugin and reinstalling it again, but the question is, will I need to re-translate the content that I translated before?
I have another problem, which is that on the plugin page, I noticed the translation plugin being repeated, as the same plugin appears on the page twice, once with version 4.6.11 and another time with version 4.6.10, and when I try to remove the plugin with version 4.6.10, a message appears that the folder does not exist
Additional information:
WordPress version 6.6
Active theme: Astra (version 4.7.3)
Current plugin: WPML Multilingual CMS (version 4.6.11)
PHP version 8.2.18
Will I need to re-translate the content that I translated before?
No, the translations are saved in the database and don't get lost.
In regard to the new issue that you mentioned, per our Support Policy, we can handle only one issue per ticket.
Continuing with one issue per ticket helps not only supporters to focus on one issue at once, but also enables other users to find solutions to their questions faster.
So, can you please create a new ticket for this separate issue?