vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   Warning: Invalid argument supplied for foreach() (https://vborg.vbsupport.ru/showthread.php?t=196450)

raja811 11-16-2008 03:25 PM

Warning: Invalid argument supplied for foreach()
 
I GET this error message when i change usergroups pls solve this

Quote:

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:
Quote:

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

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


All times are GMT. The time now is 03:53 PM.

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.01001 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_code_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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