This thread is resolved. Here is a description of the problem and solution.
Problem:
The client was experiencing 500 errors with the ajax-based quick search bar in the Flatsome theme. The debug log indicated a fatal error with the
get_requested_lang()
function in the WPML plugin.
Solution:
We asked the client to confirm the version of the Flatsome theme they were using and suggested updating to the latest version if they were not on version 3.18.2. The client discovered that the issue was caused by the Query Monitor plugin, which nullified the
get_requested_lang()
function. They found a workaround by clearing the
wpml_notices
key in the
wp_options
table, as suggested in a WPML forum post: https://wpml.org/forums/topic/query-monitor-conflicts-with-wpml-and-yith-wishlist-plugin/#post-11521481.
If this solution does not seem relevant to your situation, please feel free to open a new support ticket with us here.
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 5 replies, has 2 voices.
Last updated by 1 year, 1 month ago.
Assisted by: Bruno Kos.