armia armia - 3 months ago 10x
PHP Question

wordpress sql error in one page ( my account)

error in "my account " page only

I installed a theme " directorypress" to my wordpress site, all woks fine except when I click my account page I get this error.
did any one go through this issue before

wordpress version 4.2.2

pages attached to the following link
pages in the error


Change the following lines

$result = mysql_query($SQL, $wpdb->dbh) or die(mysql_error().' on line: '.__LINE__);
$result = mysql_query($wpdb->dbh,$SQL) or die(mysql_error().' on line: '.__LINE__);

and use mysqli