PDA

View Full Version : Code problem


stalkingdatoast
12-01-2013, 10:38 AM
Im getting this error on the admin cp, and im truing to find out whats going on.

Warning: Invalid argument supplied for foreach() in [path]/admincp/css.php on line 451

ozzy47
12-01-2013, 10:48 AM
Lets see if it is a mod causing the issue.

Open your includes/config.php and below<?php add this line:

define('DISABLE_HOOKS', true);So it looks like this:
<?php
define('DISABLE_HOOKS', true);
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 4.2.2 If the error goes away, then remove the define('DISABLE_HOOKS', true); from the config.php and then start disabling each mod one a a time till you find the culprit.