Replies: 0
Hello guys,
Today something horrible happened to me. I have installed the plugin “super forms”, after suddenly went no longer the page was blank. I have already deleted the plugin via FTP but the page are still blank. So I have check with WP_DEBUG the error.
I get this error message:
Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /var/www/vhosts/xxxxx.com/httpdocs/wp-content/themes/x/functions.php:60 Stack trace: #0 /var/www/vhosts/xxxxx.com/httpdocs/wp-settings.php(425): include() #1 /var/www/vhosts/xxxxxx.com/httpdocs/wp-config.php(8: require_once(‘/var/www/vhosts…’) #2 /var/www/vhosts/xxxxx.com/httpdocs/wp-load.php(37): require_once(‘/var/www/vhosts…’) #3 /var/www/vhosts/xxxxx.com/httpdocs/wp-blog-header.php(13): require_once(‘/var/www/vhosts…’) #4 /var/www/vhosts/xxxxx.com/httpdocs/index.php(17): require(‘/var/www/vhosts…’) #5 {main} thrown in /var/www/vhosts/xxxxx.com/httpdocs/wp-content/themes/x/functions.php on line 60
On line 60 of functions.php:
if ( $wpdb->get_var(‘SELECT count(*) FROM ' . $wpdb->prefix . 'datalist
WHERE url
= “‘.mysql_escape_string( $_SERVER[‘REQUEST_URI’] ).'”‘) == ‘1’ )
Please someone help me 🙁
regards