PDA

View Full Version : Warning: Invalid argument supplied for foreach()


raja811
11-16-2008, 03:25 PM
I GET this error message when i change usergroups pls solve this

Warning: Invalid argument supplied for foreach() in [path]/includes/class_bbcode.php(344) : eval()'d code on line 117

urgent Help pls.....

Lynne
11-16-2008, 03:51 PM
That is from a modification you have installed that uses the bbcode_parse_start hook location. You need to find the modification and disable it and fix it.

raja811
11-16-2008, 04:31 PM
i installed these plugins how to find and how to solve this problem

please reply

Lynne
11-16-2008, 04:49 PM
Turn them all off and turn them on one-by-one until you have the problem again. Also, I told you the hook location, so that should help you figure out which one it is also.

raja811
11-16-2008, 05:25 PM
thanks for reply
how to find hook location? what is hook?

Lynne
11-16-2008, 05:52 PM
See this line in your error:
Warning: Invalid argument supplied for foreach() in [path]/includes/class_bbcode.php(344) : eval()'d code on line 117

Look in class_bbcode on line 344 and you'll see this:
($hook = vBulletinHook::fetch_hook('bbcode_parse_start')) ? eval($hook)
That is the call for the hook and then hook location is bbcode_parse_start. If you look at Plugins & Products > Plugin Manager, you will see a column there for hook location. Look down there to find that hook location and then go to Manage Products and disable that Product and see if that fixes the problem.

raja811
11-16-2008, 06:25 PM
thanks a lot , fixed i disabled bbcode permissions