This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to activate WPML on your site. When using PHP 7.4, WPML works but other vital plugins do not. Switching to PHP 8.0 allows other plugins to function, but then WPML does not work and displays a large error message.
Solution:
We recommend enabling debugging to identify the specific issues with WPML on PHP 8.0. To do this, modify your site’s wp-config.php file:
1. Locate the line
define('WP_DEBUG', false);
and change it to:
define('WP_DEBUG', true);
2. To log errors to a file, add:
define('WP_DEBUG_LOG', true);
Errors will be recorded in the debug.log file within the /wp-content/ directory. For more detailed instructions on debugging WPML, visit https://wpml.org/documentation/support/debugging-wpml/
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, 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 problems persist, please open a new support ticket at our 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.