PHP7.0 support
Hi there,
Since PHP7.0 is much faster for WordPress than 5.6 or 5.4 I switched on it. BeTheme worked like charm until latest PHP update. Here is the Debug:
Xdebug: Fatal error: Uncaught Error: Call to undefined function mysql_escape_string() in /usr/www/users/svastq/rberet.ba/new.mekline.ba/wp-content/themes/betheme/functions.php:60 Stack trace: #0 /usr/www/users/svastq/rberet.ba/new.mekline.ba/wp-settings.php(393): include() #1 /usr/www/users/svastq/rberet.ba/new.mekline.ba/wp-config.php(161): require_once('/usr/www/users/...') #2 /usr/www/users/svastq/rberet.ba/new.mekline.ba/wp-load.php(39): require_once('/usr/www/users/...') #3 /usr/www/users/svastq/rberet.ba/new.mekline.ba/wp-blog-header.php(13): require_once('/usr/www/users/...') #4 /usr/www/users/svastq/rberet.ba/new.mekline.ba/index.php(17): require('/usr/www/users/...') #5 {main} thrown in /usr/www/users/svastq/rberet.ba/wp-content/themes/betheme/functions.php on line 60. Output triggered in
Also I tried
mysql_real_escape_string
but getting same error. I own dedicated server, so for me that's not problem at all, but you can prepare your theme to be compatible with PHP7.0.If you need access to server to try various functions and try to fix I can provide you. You can contact me via [email protected]
Thanks, and best regards,
Adi
Comments
we have no idea who did modifications in your theme but we do not use anything like mysql_escape_string() function.