Hi,
Further to my comment on themeforest:
We are using Kinsta hosting. I updated to WP 4.7 and unfortunately after that I could not access the admin or site, getting a HTTP500 error.
After I contacted the host (Kinsta) regarding it, this was their reply:
Hi Adam,
I see a HTTP500 error, which is usually connected to a theme or plugin related coding issue. Currently, the theme is causing the problem, here’s the log entry from the error log:
2017/01/02 07:40:21 [error] 394#0: *1565 FastCGI sent in stderr: “PHP message: PHP Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /www/vinciliving_642/public/wp-content/themes/basel-child/functions.php:60
Stack trace:
#0 /www/vinciliving_642/public/wp-settings.php(423): include()
#1 /www/vinciliving_642/public/wp-config.php(46): require_once(‘/www/vincilivin…’)
#2 /www/vinciliving_642/public/wp-load.php(37): require_once(‘/www/vincilivin…’)
#3 /www/vinciliving_642/public/wp-admin/admin.php(31): require_once(‘/www/vincilivin…’)
#4 /www/vinciliving_642/public/wp-admin/index.php(10): require_once(‘/www/vincilivin…’)
#5 {main}
thrown in /www/vinciliving_642/public/wp-content/themes/basel-child/functions.php on line 60” while reading response header from upstream, client: 80.98.118.118, server: vinciliving.kinsta.com, request: “GET /wp-admin/ HTTP/1.0”, upstream: “fastcgi://unix:/var/run/php7-fpm-vinciliving.sock:”, host: “vinciliving.kinsta.com”
Please check the child theme. I’ve changed the site to HHVM, it’s loading now, but I suggest to check the theme and switch the site back to PHP7. It’s more stable and secure.
Could you please advise a fix so we can switch the site back to PHP7 as suggested by the hosting company.
Thanks.