Background of the issue:
I just deactivated WPML Multilingual CMS to troubleshoot a problem, and now it won't activate again. I keep pressing 'activate' but nothing happens.
Symptoms:
I receive a message saying 'Plugin could not be activated because it caused a fatal error.'
Questions:
Why can't I activate WPML Multilingual CMS after deactivating it?
What causes the fatal error when trying to activate the plugin?
While you wait for my colleague to take over the ticket, let me try to help you with the issue quickly.
To allow us to see if any PHP errors are being produced, please provide the WordPress debug.log. More Info: https://wordpress.org/support/article/debugging-in-wordpress/
To enable debug.log, open your wp-config.php file and look for:
define('WP_DEBUG', false);
And change it to:
define('WP_DEBUG', true);
// Enable Debug logging to the /wp-content/debug.log file
define('WP_DEBUG_LOG', true);
Then try to reproduce the issue and check if any errors were saved to the debug.log log file inside the “.../wp-content/” directory.
Thanks for the quick response!
After deactivating WP-Optimize I was able to activate WPML Multilingual CMS again.
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.