Title: undefined function mysql_real_escape_string()
Last modified: August 15, 2018

---

# undefined function mysql_real_escape_string()

 *  Resolved [chaos](https://wordpress.org/support/users/chaos1/)
 * (@chaos1)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/undefined-function-mysql_real_escape_string/)
 * > Error thrown
   >  Call to undefined function mysql_real_escape_string()
 * Does anyone know what could be causing this issue? When I attempt to access TablePress
   in the WP Dashboard, I receive this error.
 * WP 4.9.8
    -  This topic was modified 7 years, 10 months ago by [chaos](https://wordpress.org/support/users/chaos1/).

Viewing 1 replies (of 1 total)

 *  Plugin Author [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * (@tobiasbg)
 * [7 years, 10 months ago](https://wordpress.org/support/topic/undefined-function-mysql_real_escape_string/#post-10595223)
 * Hi,
 * thanks for your post, and sorry for the trouble.
 * To be honest, I don’t know why you are getting this error message. TablePress
   does not use this PHP function.
 * Can you therefore please try again after temporarily deactivating all other plugins
   and after switching to a WordPress default theme like Twenty Sixteen? That way,
   we can find what’s causing this.
 * Regards,
    Tobias

Viewing 1 replies (of 1 total)

The topic ‘undefined function mysql_real_escape_string()’ is closed to new replies.

 * ![](https://ps.w.org/tablepress/assets/icon.svg?rev=3192944)
 * [TablePress - Tables in WordPress made easy](https://wordpress.org/plugins/tablepress/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/tablepress/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/tablepress/)
 * [Active Topics](https://wordpress.org/support/plugin/tablepress/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/tablepress/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/tablepress/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [Tobias Bäthge](https://wordpress.org/support/users/tobiasbg/)
 * Last activity: [7 years, 10 months ago](https://wordpress.org/support/topic/undefined-function-mysql_real_escape_string/#post-10595223)
 * Status: resolved