This topic has 3 replies, 2 voices, and was last updated 8 years ago ago by 8theme
I got the error on my website and https://ongadgets.dk/wp-admin in this morning. The error comes from function.php. Any help?
The full text of the error:
Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /var/www/ongadgets.dk/public_html/wp-content/themes/xstore-child/functions.php:125 Stack trace: #0 /var/www/ongadgets.dk/public_html/wp-settings.php(385): include() #1 /var/www/ongadgets.dk/public_html/wp-config.php(88): require_once(‘/var/www/ongadg…’) #2 /var/www/ongadgets.dk/public_html/wp-load.php(39): require_once(‘/var/www/ongadg…’) #3 /var/www/ongadgets.dk/public_html/wp-blog-header.php(13): require_once(‘/var/www/ongadg…’) #4 /var/www/ongadgets.dk/public_html/index.php(17): require(‘/var/www/ongadg…’) #5 {main} thrown in /var/www/ongadgets.dk/public_html/wp-content/themes/xstore-child/functions.php on line 125
Hello,
From the error log we see that this error comes from child theme functions.php file and it seems that you have added some code to this file that breaks your website. Try to fix it or remove completely to make your website work again.
Regards
You must be logged in to reply to this topic.Log in/Sign up