Fatal error: Uncaught Error: Call to undefined function mysql_escape_string

This topic has 3 replies, 2 voices, and was last updated 8 years ago ago by 8theme

  • Avatar: ongadgets01
    ongadgets01
    Participant
    November 27, 2016 at 13:25

    I got the error on my website and https://ongadgets.dk/wp-admin in this morning. The error comes from function.php. Any help?

    2 Answers
    Avatar: ongadgets01
    ongadgets01
    Participant
    November 27, 2016 at 13:27

    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

    Avatar: 8theme
    8theme
    Support staff
    November 28, 2016 at 09:08

    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

  • Viewing 3 results - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.Log in/Sign up

8theme customization service

Helpful Topics

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.