mysqli_error upon moving site
Posted: Mon Nov 14, 2016 4:43 pm
I just moved my site to another server and I now get the following error (please note that I know almost NOTHING about php):
Line 249 looks like this:
At first I thought it was due to the fact that the file was using the now deprecated, mysql, so I changed it to mysqli and got the same result.
Thank you in advance.
Code: Select all
Warning: mysqli_error() expects exactly 1 parameter, 0 given in /home/site/site.com/wp-content/themes/mytheme/tpl-myaccount.php on line 249Code: Select all
$result = mysqli_query($SQL, $wpdb->dbh) or die(mysqli_error().' on line: '.__LINE__); Thank you in advance.