Jump to content
  • 0
thanna

Having a problem with Ticket Support Addon

Question

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 hope someone can help me out, thanks

Share this post


Link to post
Share on other sites

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.