Log in

View Full Version : datatype error in a php file


imprezion
02-03-2010, 04:01 AM
just got my database connected, imported, and running on a new server...but there is an error on the top main page of my forum saying...


Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 6

Warning: in_array() [function.in-array]: Wrong datatype for second argument in [path]/includes/functions_forumlist.php(395) : eval()'d code on line 1

it only shows on top of the main forum, not sub forums or threads/posts.
may be something wrong about the database import? or some other issue in "Styles and Templates"?
anyone know about these two warnings and problems?
should I try upgrading it to Vb4.0 from 3.8.4 now and see if this can be resolved?

thanks

Marco van Herwaarden
02-03-2010, 07:57 AM
This is caused by a modification.

To troubleshoot this, please remove any hacks and disable your plugins, then see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

define('DISABLE_HOOKS', true);

If so, reupload all the original vB non-image files (except install.php). Make sure you upload these in ASCII format and overwrite the ones on the server.