Problem: If you're unable to activate the WPML plugin and encounter a fatal error indicating an issue with a non-countable type in the 'functions.php' file, this might be due to a specific database entry causing the problem. Solution: We recommend checking your database for the option named
auto-translation-job-creation-error
in the 'wp_options' table and deleting it. After removing this entry, try reactivating the WPML plugin. This solution is a temporary fix until the issue is permanently resolved in WPML version 4.9.
Please note that this solution might be outdated or not applicable to your specific case. If the problem persists, we highly recommend checking related known issues, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If needed, do not hesitate to open a new support ticket for further assistance.