View Full Version : Invalid argument supplied for foreach() in /includes/functions.php on line 1237
mahmuttunc
01-31-2008, 08:09 PM
I am given the above error on my forum after installing a database may i please have urgent help
Lynne
01-31-2008, 08:14 PM
Look in functions.php and tell us what line 1237 says. If it is a hook, then you will need to disable your plugins and then find which plugin is causing the problem.
mahmuttunc
01-31-2008, 08:18 PM
i cannot access anything at all as that page comes up
Lynne
01-31-2008, 10:20 PM
You don't even have ftp access? That is where you would go to read the functions.php script.
But, why don't you try turning off all your plugins first to see if that makes the problem go away. ftp to your site and go into the includes directory and edit the config.php file. Somewhere after the first line, and before the last line add this line:
define('DISABLE_HOOKS', true);
Then save the file and see if you can get into your forums. That will disable all your plugins, so don't be surprised if your board comes up without any hacks working. If your board does come back to life after adding that line, then you know that it is a modification you added that is causing the problem on your board.
Reecey
01-31-2008, 10:29 PM
right you need to do what the above person said and you should be able to access the file either via your FTP access or via you host control panel. i will try my best if you want help with it but i can only do so much .
vBulletin® v3.8.12 by vBS, Copyright ©2000-2025, vBulletin Solutions Inc.