PDA

View Full Version : ...for foreach() in includes/adminfunctions_template.php on line 2317



zodehala
Fri 21st Dec '07, 6:30am
after upgrade to 3.7.0 B2 i am gettin following error at the same time index.php is white


Warning: Invalid argument supplied for foreach() in includes/adminfunctions_template.php on line 2317

( i have closed all hack/plug-in in config.php)

Zachery
Fri 21st Dec '07, 8:57am
Does the same thing happen with the default style?

SNN
Fri 21st Dec '07, 10:34am
Have you tried re-uploading all vBulletin default files (excluding images)?
It seems that function is correctly coded (May or may not be a difference in Beta 3).
Have you tried upgrading to Beta 3?
(code from line 2317):
foreach ($stylecache AS $styleid => $style)

Wayne Luke
Fri 21st Dec '07, 1:37pm
Your style cache is corrupted. Upload tools.php from your "do not upload" folder and rebuild your Style Information.