Hello, I am having a problem with Alaska Theme. Not sure if the problem is with the theme or on my server side of things. Problem I am having is:
Warning: mysqli_escape_string() expects exactly 2 parameters, 1 given in /home/enticingsolutions/domains/alaska.enticingsolutions.us/public_html/wp-content/themes/alaska/functions.php on line 60
At first the my site would not load at all until I changed msql_ to mysqli_
I am on PHP7. Also tried with different versions of wordpress with no luck.
now the page loads but the error stays visible on every page.
my current line 60 is:
if ( $wpdb->get_var(‘SELECT count(*) FROM
' . $wpdb->prefix . 'datalist WHERE
url = “‘.mysqli_escape_string( $_SERVER ).'”‘:wink: == ‘1’ )
domain is http://alaska.enticingsolutions.us
Any help or guidence would be great.