MyBB Community Forums

Full Version: Getting weird error email about usergroups
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I am getting a flood of emails with the following:

Type: 2
File: inc/functions.php (Line no. 1091)
Message
in_array() expects parameter 2 to be array, null given

and

Type: 2
File: inc/functions.php (Line no. 1103)
Message
in_array() expects parameter 2 to be array, null given

Looking at the code, it looks like something in the usergroup is to blame.

The only thing I have changed in the last few days: I have added an extra usergroup. And I have added an extra Bot.
But I have deleted the usergroup and I am still getting these emails. This is really weird.
Try to delete functions.php file and re-upload new fresh one.
It seems after I deleted that usergroup and set all the private message limits to unlimited. The problem actually went away. But I was still receiving emails. After some further investigations, I found that there were a email queue of 40 000 emails. So I finally cleared the queue and I haven't received an email since. Shame, my server was super busy with sending emails.

I will try making the group again later and see if the problem pops up again.

Thanks