vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Illegal offset type error (https://vborg.vbsupport.ru/showthread.php?t=202662)

Cireus 01-22-2009 02:30 AM

Illegal offset type error
 
1 Attachment(s)
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:
Quote:

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:
PHP Code:

($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.


All times are GMT. The time now is 10:55 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01089 seconds
  • Memory Usage 1,720KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_php_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete