View Full Version : Flashcoms-Vbulletin Integration Error
Akyeame Kwame
06-06-2011, 09:55 PM
Hello,
Hopefully someone will be able to assist. I've gone through all of the instructions for integrating Flashcoms into Vbulletin. Now I'm getting this error and an authentication error.
Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/init.php(303) : eval()'d code on line 226
Does anyone know what may be causing the issue?
BirdOPrey5
06-08-2011, 12:39 AM
This is info on the php in_array() function: http://php.net/manual/en/function.in-array.php
The warning is saying the 2nd argument (the array your looking in) is the wrong datatype- So some line of code is sending a bad variable to be used in the in_array() function.
I don't know what is entailed in getting "Flashcoms" to work with vBulletin but if there's any custom code look for any code that uses in in_array function and work from there.
Akyeame Kwame
06-08-2011, 06:18 PM
I appreciate the response. I disabled hooks and it went away. I'm thinking that it's coming from the interaction between whichever mod and flashcoms. I'm in a place that's bandwidth-challenged so with my 150 mods, i'm thinking this is going to take a while to get to the specific one. I appreciate the response all the same. If you know if any shortcut to just turn off error reporting or to just suppress that warning, that would be great as the integration now goes through...there's just that annoying (unprofessional looking) warning at the top of the page.
BirdOPrey5
06-08-2011, 09:05 PM
No problem. Unfortunately I never attempted to suppress warnings so I'm not sure if that's possible from Vbulletin- I think it's a setting that needs to be made in your php.ini file.
Akyeame Kwame
06-19-2011, 05:44 AM
I found the issue by disabling mods one by one. The issue was the global tag cloud mod that I wasn't using any way but allowed to loiter in my 3.8.4 installation. Disabling it (and then uninstalling it) got rid of the error. I appreciate it once again.
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.