This thread is resolved. Here is a description of the problem and solution.
Problem: mysqli_real_escape_string(): Couldn't fetch mysqli in wp-includes/wp-db.php errors In Admin panel I have this error multiple times.
Solution: I would like to ask you to visit this link where you will find a solution for a similar issue: https://wpml.org/forums/topic/warning-mysqli_real_escape_string-couldnt-fetch-mysqli-in-home-wp_yi8jyi-h/
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.