Fatal error: Uncaught Error: Call to undefined function

    Fatal error: Uncaught Error: Call to undefined function

    Hi,

    I installed the theme on a local computer to develop my site and it works fine.
    But as soon as I want to move it onto a live site, whatever the method I use, it doesn't work.
    When I attempt to log in into web site as administrator, I get an error returned by the theme which is:

    Fatal error: Uncaught Error: Call to undefined function
    mysql_escape_string() in
    /homepages/41/d727411756/htdocs/wp-content/themes/brooklyn/functions.php:105
    Stack trace:
    #0 /homepages/41/d727411756/htdocs/wp-settings.php(426): include()
    #1 /homepages/41/d727411756/htdocs/wp-config.php(94):
    require_once('/homepages/41/d...')
    #2 /homepages/41/d727411756/htdocs/wp-load.php(37):
    require_once('/homepages/41/d...')
    #3 /homepages/41/d727411756/htdocs/wp-blog-header.php(13):
    require_once('/homepages/41/d...')
    #4 /homepages/41/d727411756/htdocs/index.php(17):
    require('/homepages/41/d...')
    #5 {main}
    thrown in /homepages/41/d727411756/htdocs/wp-content/themes/brooklyn/functions.php on line 105

    Could you please help me by giving me a hint about what could be wrong?
    Thanks’ in advance.

    Kind Regards,
    Hi,

    please use a valid account to post support queries. This forum area here is not for theme support.

    The issue you are experiencing is related to : mysql_escape_string

    Which is not available on newer Version of PHP. However, we are not using the command in our theme. Its mostly used by plugins such as slider plugins. Or plugins which have own tables inside the Database.

    You can search for mysql_escape_string in your code and replace it with mysqli_escape_string
    Support Times: Monday to Friday (Central European Time)
    Response Time: 12-48 hours (depending on workload)
    Please, do not send any private messages before I have asked for!

    WordPress Customization