PDA

View Full Version : Illegal offset type error


Cireus
01-22-2009, 02:30 AM
Hi, I'm hoping that someone can tell me how to fix the error I'm getting in certain subforums on my vBulletin board. Strangely, it only shows up in some subforums but not all. The actual error started with a different one, though.

One of the users on my forum screencapped the error message she got (I attached it below), but I, myself, only got a white page (the forum wouldn't load at all on those subforums.) To solve that problem, I changed the gzip compression to "off". Now the forum loads, but I am getting the following message:
Warning: Illegal offset type in [path]/forumdisplay.php(111) : eval()'d code on line 12

Warning: Illegal offset type in [path]/forumdisplay.php(111) : eval()'d code on line 12

It was fine before I upgraded to the latest package (3.8), and the upgrade went smoothly. I just finished reuploading the entire package again, overwriting all files, but it didn't help. I am not very computer savvy, so a detailed fix would be most helpful or redirection to somewhere I can find a way to fix this would be great, too. I looked through the bug report forum on vbulletin.com but didn't see anything about this particular problem there, and I wasn't sure where to ask for help.

Thank you very much, and my sincere apologies if I posted this in the wrong place/forum!


EDIT: Never mind; I finally found it! Sorry for the trouble!!

Lynne
01-22-2009, 02:38 AM
Line 111 of forumdisplay.php is:
($hook = vBulletinHook::fetch_hook('forumdisplay_start')) ? eval($hook) : false;
So, the error you are currently getting is due to a modification you have installed that is using the forumdisplay_start hook. You need to disable this plugin in order to stop getting the error.

Dismounted
01-22-2009, 02:38 AM
This is caused by a modification with a plugin at forumdisplay_start.

Cireus
01-22-2009, 02:42 AM
Thanks! A friend of mine helped me find it right after I'd posted. I think I know which mod it is, though, so it's all good!

Reeve of shinra
03-24-2009, 05:12 AM
which mod was it, I am getting hte same error

Dismounted
03-24-2009, 11:02 AM
Just find plugins at forumdisplay_start and identify the product from there.