I use feefty's ticket support addon, it does work somehow when I try to login with invalid credentials this error appears
Notice: Trying to get property of non-object in /home/insurrec/public_html/addons/support/modules/support/function.php on line 304Notice: Trying to get property of non-object in /home/insurrec/public_html/addons/support/modules/support/function.php on line 305Fatal error: Call to a member function getStatement() on a non-object in /home/insurrec/public_html/addons/support/modules/support/function.php on line 305
and here's the line of the code that the error's point out
/* * @desc - To get the group_id of account_id * @params (int) $account_id, (object) $server*/if (!function_exists("getGroupCol")){ function getGroupCol($server) { $sql = "SHOW COLUMNS FROM $server->loginDatabase.login LIKE 'group_id'"; $sth = $server->connection->getStatement($sql); $sth->execute(); return ($sth->rowCount() ? 'group_id' : 'level'); }}
I use feefty's ticket support addon, it does work somehow when I try to login with invalid credentials this error appears
and here's the line of the code that the error's point out
I hope someone can help me out, thanks
Share this post
Link to post
Share on other sites