This thread is resolved. Here is a description of the problem and solution.
Problem:
You are experiencing a fatal error when trying to view a normal post or page on your WordPress site. The error message indicates a TypeError related to WPML and WP_Post.
Solution:
We recommend you follow these steps to isolate and potentially resolve the issue:
1. Create a full site backup or set up a staging site using a plugin like WP Staging.
2. Update any outdated plugins or themes.
3. Flush any existing cache memory.
4. Deactivate all plugins, including WPML ones.
5. Activate a default WordPress theme, such as Twenty Twenty.
6. Reactivate the WPML plugins.
7. If the error disappears, reactivate your theme and then other plugins one by one to identify the culprit.
If these steps do not resolve the issue or if the solution seems outdated or irrelevant 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 further assistance is needed, please open a new support ticket at WPML 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.
This topic contains 1 reply, has 0 voices.
Last updated by 1 month, 4 weeks ago.
Assisted by: Carlos Rojas.