MyBB Community Forums

Full Version: URGENT: Huge problem since the update 1.4.8 --> 1.4.10
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hello to all

I have a huge problem!

I was in version 1.4.8, I updated to 1.4.10. everything went very well, but I am bombarded with emails!

My forum referring me an error:

About mail: MyBB Error on Aspire One Forum France

Quote:Your copy of MyBB running on Forum Aspire-One France (http://www.aspire-one.fr/forum) has experienced an error. Details of the error include:
---
Type: 2
File: asoi.php (Line no. 23)
Message
in_array() [<a href='function.in-array'>function.in-array</a>]: Wrong datatype for second argument

I get an email every 6 seconds.

If anyone knows how to remove the problem.

Thank you

Edit: This is line 23 of my asoi.php !

Quote:if(in_array($stats, $mybb->input['asoi']))
First off, you should be on 1.4.11. Secondly, this is a plugin issue, moved to correct forum.

Change that line to this:

if(in_array(mybb->input['asoi'], $stats))

They've got the arguments the wrong way round.
Thank you for your reply.

I am in 1.4.11, but the problem appeared when I moved to 1.4.10

I now have another error on my forum index

Quote:Parse error: syntax error, unexpected T_OBJECT_OPERATOR in /home/aspireone/www/aspire-one.fr/forum/asoi.php on line 23

Okay.

I uninstall the plugin that caused the problem it working again.

I'll see if there is a new version.

Thank you anyway.