MyBB Community Forums

Full Version: Error in Usergroup Invitations plugin
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello to all,

I'm trying to install Usergroup Invitations plugin but I get an error when I try to activate it.

This is the error
[Image: 0zjh.jpg]

[Image: 9baf.jpg]


It's possible to fix?

Thanks a lot
comma is missing at the end of line 22 and there is no need of semicolon at the end of line 23
Thank you!
We should warn the author because obviously forgot to correct the source
The above problem is solved, thanks to your help.
But now I get another:

[Image: q0es.jpg]

The piece of code given is this query

[Image: 7skn.jpg]


I have not changed anything except the translation into Italian of two strings.

Many thanks
you can try adding global $db; in a new line after function groupinvite_install(){ (looks like below)
function groupinvite_install(){
     global $db;
     $db->query("CREATE TABLE IF NOT EXISTS `".TABLE_PREFIX."usergroup_invites` (