This thread is resolved. Here is a description of the problem and solution.
Problem:
You are trying to add translations to an Elementor template, which previously existed but now are missing. Although the editor shows them as 100% translated, they disappear after saving. Additionally, you encounter a fatal error when attempting to add translations through the WordPress editor, specifically a TypeError related to the
in_array()
function.
Solution:
We recommend the following steps to resolve the issue:
1. Access your database.
2. Navigate to the
wp_options
table.
3. Delete the option that might be causing the issue. This step is crucial as it seems related to the fatal error you are experiencing.
For more detailed guidance, you can refer to a similar issue discussed in our forum: WPML forum topic on fatal error when adding a translation.
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 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 necessary, do not hesitate to open a new support ticket for further assistance.
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.