Title: Deprecated mysql_real_escape_string()
Last modified: August 21, 2016

---

# Deprecated mysql_real_escape_string()

 *  [dyrer](https://wordpress.org/support/users/dyrer/)
 * (@dyrer)
 * [12 years ago](https://wordpress.org/support/topic/deprecated-mysql_real_escape_string/)
 * Error number: 8192
    Error type: Unknown Error type 8192 Error Msg: mysql_real_escape_string():
   The mysql extension is deprecated and will be removed in the future: use mysqli
   or PDO instead File name: /home/domain/public_html/wp-content/plugins/permalink-
   finder/includes/pf-404.php Line Number: 621
 * I am using WP 3.9
 * [https://wordpress.org/plugins/permalink-finder/](https://wordpress.org/plugins/permalink-finder/)

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

 *  Plugin Author [Keith P. Graham](https://wordpress.org/support/users/kpgraham/)
 * (@kpgraham)
 * [12 years ago](https://wordpress.org/support/topic/deprecated-mysql_real_escape_string/#post-4852751)
 * Please download the fixed version at [http://www.blogseye.com](http://www.blogseye.com).
 * I have not had time to work on plugins for a while, but this is fixed.
 * Keith
 *  [seodelight](https://wordpress.org/support/users/seodelight/)
 * (@seodelight)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/deprecated-mysql_real_escape_string/#post-4852977)
 * Hi Keith,
 * Awesome Plugin, been using it on several sites.
 * Recently installed it to a new site and the error log shows errors, deleted and
   reinstalled but still happening. downloaded from [http://www.blogseye.com/](http://www.blogseye.com/)
   and same issue persists. Following are the errors generated in log file :
 * Error number: 8192
    Error type: Unknown Error type 8192 Error Msg: mysql_real_escape_string():
   The mysql extension is deprecated and will be removed in the future: use mysqli
   or PDO instead File name: /home/propertyli/public_html/wp-content/plugins/permalink-
   finder/includes/pf-404.php Line Number: 621 ———————
 * Error number: 2
    Error type: Run-time warnings (non-fatal errors). Execution 
   of the script is not halted. Error Msg: mysql_real_escape_string(): Access denied
   for user ‘root’@’localhost’ (using password: NO) File name: /home/propertyli/
   public_html/wp-content/plugins/permalink-finder/includes/pf-404.php Line Number:
   621
 * ——————–
 * Error number: 8192
    Error type: Unknown Error type 8192 Error Msg: mysql_real_escape_string():
   The mysql extension is deprecated and will be removed in the future: use mysqli
   or PDO instead File name: /home/propertyli/public_html/wp-content/plugins/permalink-
   finder/includes/pf-404.php Line Number: 668 ———————
 * Error number: 2
    Error type: Run-time warnings (non-fatal errors). Execution 
   of the script is not halted. Error Msg: mysql_real_escape_string(): Access denied
   for user ‘root’@’localhost’ (using password: NO) File name: /home/propertyli/
   public_html/wp-content/plugins/permalink-finder/includes/pf-404.php Line Number:
   668 ———————
 * if I disable the plugin I see a 404 page, but with the plugin enabled the error
   log has the above repeated several times.
 * Please help share a fix to this issue.
 * Regards,
    Seodelight
 *  [seodelight](https://wordpress.org/support/users/seodelight/)
 * (@seodelight)
 * [11 years, 2 months ago](https://wordpress.org/support/topic/deprecated-mysql_real_escape_string/#post-4852978)
 * The theme I am using has “retina-1.1.0.js” included most likely this was throwing
   errors as
    – @2x files didnt exist on the server, and – the “retina-1.1.0.js”
   executes a script for @2x images that throws and error -> var root = (typeof 
   exports == ‘undefined’ ? window : exports);
 * A workaround I made is to remove the @2x value from image names. In the file “
   retina-1.1.0.js” all occurrences of @2x were replaced i.e.
    -> “this.at_2x_path”
   modified to “this.path”
 * Hope this helps for others too.

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

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

 * ![](https://s.w.org/plugins/geopattern-icon/permalink-finder_81927c.svg)
 * [Link Fixer](https://wordpress.org/plugins/permalink-finder/)
 * [Support Threads](https://wordpress.org/support/plugin/permalink-finder/)
 * [Active Topics](https://wordpress.org/support/plugin/permalink-finder/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/permalink-finder/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/permalink-finder/reviews/)

 * 3 replies
 * 3 participants
 * Last reply from: [seodelight](https://wordpress.org/support/users/seodelight/)
 * Last activity: [11 years, 2 months ago](https://wordpress.org/support/topic/deprecated-mysql_real_escape_string/#post-4852978)
 * Status: not resolved