miniBB ®

miniBB

®
Support Forums
  
 · Start · Sign in · Register · Search · Statistics · File Bank · Manual ·
Specific miniBB Support Forums / Specific /  
 

Wrong datatype for second argument in ..../addon_avatar.php on line 15

 
Author Santocool
Partaker
#1 · Posted: 14 Mar 2009 14:01Reply Quote
I was trying to make a new topic in FAQ section but making new topics is disable.

Here's the thing I remember I has the avatar add on was working perfect and now when I go to Profile I get this error:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/colo8847/public_html/forums/addon_avatar.php on line 15

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/colo8847/public_html/forums/bb_func_editprf.php on line 11

And when I go to Choose avatar from list I get this error:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/colo8847/public_html/forums/addon_avatar.php on line 15

And when I select an avatar I get this error:

Warning: in_array() [function.in-array]: Wrong datatype for second argument in /home/colo8847/public_html/forums/addon_avatar.php on line 15

Warning: Cannot modify header information - headers already sent by (output started at /home/colo8847/public_html/forums/addon_avatar.php:15) in /home/colo8847/public_html/forums/addon_avatar.php on line 187

I've tried lot of things and I couldn't fix it. can any1 help me?

Thanks a lot!

Author Paul
Lead Lead Developer
#2 · Posted: 16 Mar 2009 03:28Reply Quote
Check your $mods array under bb_specials.php. It should be properly set following the correct setting format, as it's described in Manual.

Specific miniBB Support Forums / Specific /
 Wrong datatype for second argument in ..../addon_avatar.php on line 15
 Share Topic's Link

Your Reply Click this icon to move up to the quoted message

BB code for the Bold StyleBB code for the Italic StyleBB Code for the PictureBB code for the URLUpload a File

  ?
Post as a Guest, leaving the Password field blank. You could also enter a Guest name, if it's not taken by a member yet. Sign-in and post at once, or just sign-in, bypassing the message's text.


Before posting, make sure your message is compliant with forum rules; otherwise it could be locked or removed with no explanation.

 

 
miniBB Support Forums Powered by Forum Software miniBB ® Home  Features  Requirements  Demo  Download  Showcase  Gallery of Arts
Compiler  Premium Extensions  Premium Support  License  Contact Us
Install the File and Picture Attachments add-on: extend your miniBB-forums, attaching images and files.