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 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/

Relevant Documentation:

This topic contains 3 replies, has 2 voices.

Last updated by Carlos Rojas 3 months, 1 week ago.

Assigned support staff: Carlos Rojas.

Author Posts
July 9, 2019 at 11:23 am

hiteshH

mysqli_real_escape_string(): Couldn't fetch mysqli in wp-includes/wp-db.php errors
In Admin panel I this error multiple times.

I have shared the screenshot above for your reference.

I tried to fix it by myself, But unable to fix it.

Regards

July 9, 2019 at 1:59 pm #4171549

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hello,
Thank you for contacting WPML support.

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/

Could you apply the recommended solution and let me know the result?

Kind regards,
Carlos

July 13, 2019 at 11:12 am #4203315

hiteshH

My issue is resolved now. Thank you!

July 15, 2019 at 10:37 am #4209883

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: America/Montevideo (GMT-03:00)

Hi there,

I'm glad to hear that the issue is solved 🙂

Please don't hesitate to contact us if you need our help in the future with WPML. We will be more than happy to help.
Best regards,
Carlos