This thread is resolved. Here is a description of the problem and solution.
Problem:
The client is experiencing a fatal error on translated pages with the message:
Fatal error: Uncaught Error: Call to a member function get_requested_lang() on null
.
Solution:
If you're experiencing this issue, we recommend you try the following steps to isolate the cause:
1. Ensure you have a complete backup of your site for safety reasons.
2. Deactivate all plugins except for WPML.
3. Switch to a default WordPress theme, such as Twenty Twenty-One.
4. If the issue resolves, reactivate each plugin one by one to identify the one causing the conflict.
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 2 replies, has 2 voices.
Last updated by 1 year, 9 months ago.
Assisted by: Noman.