1

Topic: Error when searching

Hi!

I just tried to search after a specific word in a specific category on the forum and I got this warning:
Warning: in_array(): Wrong datatype for second argument in /home/httpd/html/forum.08scooter.com/search.php on line 150

When I checked the line 150 in search.php I found this:
if ((in_array($forum, $admmod_forums) && $cur_user['status'] < PUN_MOD) || (in_array($forum, $locked_forums) && $cur_user['status'] < PUN_ADMIN))

I have the EFAM mod so maybe thats the problem?

Do anyonw know how I can fix it?


Greetings

Re: Error when searching

Well, if this is PunBB 1.2, I think EFAM wasn't made for that
In any case, PunBB's 1.2 group system should take care of it

3

Re: Error when searching

It is PunBB 1.1.1 ... Very old version but the mod-readme says that it should work with 1.1.1 ....

Re: Error when searching

maybe you should consider upgrading?