vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   error message (https://vborg.vbsupport.ru/showthread.php?t=215156)

Mrdby 06-02-2009 09:50 AM

error message
 
I keep getting an error message about not being able to use a scalar value as an array in [path]/global.php(607); eval()'d code on line 200.

Anybody?

Lynne 06-02-2009 01:39 PM

Try disabling your modifications/plugins and see if you still have this problem.
Note: To temporarily disable the plugin system, edit config.php and add this line right under <?php

PHP Code:

define('DISABLE_HOOKS'true); 


Mrdby 06-03-2009 01:50 AM

but how can i find out what one is exactly using that global file?

Lynne 06-03-2009 02:57 AM

Turn off one mod at a time and see if the error disappears. If it does, then that is the mod causing problems.

Mrdby 07-06-2009 09:23 AM

it happens at random for certain users. but most have stopped logging on. I never seen the error.

Lynne 07-06-2009 03:08 PM

If you look at line 607 in global.php, that will help you find out where the error is coming from. In my global.php file, it is a template causing the error, so I would start by looking at that template. However, you didn't say what version you are running, so I don't know that your line 607 is the same as mine.

Mrdby 07-09-2009 12:12 AM

3..8.3

someone just reported

Warning: Cannot use a scalar value as an array in [path]/global.php(607) : eval()'d code on line 201

--------------- Added [DATE]1247102073[/DATE] at [TIME]1247102073[/TIME] ---------------

this is on 607 ($hook = vBulletinHook::fetch_hook('parse_templates')) ? eval($hook) : false;

201 is {

Lynne 07-09-2009 01:00 AM

Your error is on 607 of global.php (as I said in my post) and it is caused by a modification using the parse_templates hook location. You need to disable that modification to get rid of the error. Then you may post in the modification thread for help fixing it.

Mrdby 07-09-2009 01:14 AM

What mod? I dont want to disable every mod and this happens at random

Lynne 07-09-2009 01:19 AM

I have no idea what mod. Take a look at your Plugins and it has a column that lists the hook location. That should help you narrow it down since it will be a modification that uses that hook location.


All times are GMT. The time now is 11:45 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.01032 seconds
  • Memory Usage 1,726KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete