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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...

Important Information

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