Question

HTTP ERROR 500.

Hi! I have HTTP Error 500 when i’m trying to access my site. Please, help me!

makevape.me

Subscribe
Share

it is error.log

[Fri Dec 09 11:59:22.784896 2016] [:error] [pid 3040] [client 77.90.198.62:40240] PHP Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /var/www/html/wp-content/themes/15zine/functions.php:60\nStack trace:\n#0 /var/www/html/wp-settings.php(425): include()\n#1 /var/www/html/wp-config.php(89): require_once(‘/var/www/html/w…’)\n#2 /var/www/html/wp-load.php(37): require_once(‘/var/www/html/w…’)\n#3 /var/www/html/wp-blog-header.php(13): require_once(‘/var/www/html/w…’)\n#4 /var/www/html/index.php(17): require(‘/var/www/html/w…’)\n#5 {main}\n thrown in /var/www/html/wp-content/themes/15zine/functions.php on line 60


Submit an answer
You can type!ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

mysql_escape_string() should not be used and if you have code that includes it it should be changed. This function was depreciated back in the PHP 4.x days in 2002 and with the release of PHP 7 it has been fully removed. Look into the mysqli extension instead.

hi check your File Permissions (dir 755, file 644) and check your htaccess File .