Title: PHP Warning: mysql_real_escape_string()
Last modified: August 22, 2016

---

# PHP Warning: mysql_real_escape_string()

 *  Resolved [sibarita](https://wordpress.org/support/users/sibarita/)
 * (@sibarita)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-warning-mysql_real_escape_string/)
 * Hi,
 * The PHP log of my server is filled with the following error:
 * [20-Jan-2015 11:02:14 UTC] PHP Warning: mysql_real_escape_string(): A link to
   the server Could not be established in / … /wp-content/plugins/mobile-sharebar/
   sharebar.php online 82
 * How can it be solved?
 * Thank You.
 * [https://wordpress.org/plugins/mobile-sharebar/](https://wordpress.org/plugins/mobile-sharebar/)

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [somutech](https://wordpress.org/support/users/somutech/)
 * (@somutech)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/php-warning-mysql_real_escape_string/#post-5706322)
 * The problem seems, that on your website the mysql-connection is canceled.
    It’s
   not a problem of our Plugin.
 * Please check to deactivate other plugins one by one to find out, if another plugin
   causes this issue.
 *  [falk-a](https://wordpress.org/support/users/falk-a/)
 * (@falk-a)
 * [11 years ago](https://wordpress.org/support/topic/php-warning-mysql_real_escape_string/#post-5706388)
 * Hi sibarita,
 * I have the same problem and don’t know how to fix it? Could you already solve
   it?
 * Thank you!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP Warning: mysql_real_escape_string()’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/mobile-sharebar_3bb098.svg)
 * [Mobile ShareBar](https://wordpress.org/plugins/mobile-sharebar/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/mobile-sharebar/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/mobile-sharebar/)
 * [Active Topics](https://wordpress.org/support/plugin/mobile-sharebar/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/mobile-sharebar/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/mobile-sharebar/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [falk-a](https://wordpress.org/support/users/falk-a/)
 * Last activity: [11 years ago](https://wordpress.org/support/topic/php-warning-mysql_real_escape_string/#post-5706388)
 * Status: resolved