PDA

View Full Version : error message


Mrdby
06-02-2009, 09:50 AM
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

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 1247102073 at 1247102073 ---------------

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.

TheLastSuperman
07-09-2009, 01:25 AM
Or disable one at a time and check in between disabling and enabling again until you find out which one :D

(Idea from Lynne a long time ago lol)

Edit: Err actually I missed your post above Lynne, feel like a genious now lol :D