vanillaforums/Garden — Issue #1251: Fatal Error in Gdn_Autoloader.RegisterMap();
Author: unlight
Created: 2011-11-26 12:19:26+00:00
State: open

Array to string conversion
The error occurred on or near: /home/www/htdocs/library/core/class.autoloader.php

392: $MapType,

393: $ContextType,

394: $Extension,

395: $MapRootLocation

396: ));

397: $Options['MapIdentifier'] = $MapIdentifier;

398: $MapHash = md5($MapIdentifier);

399:

400: // Allow intrinsic ordering / layering of contexts by prefixing them with a context number

Backtrace:

[/home/www/htdocs/library/core/class.autoloader.php:396] PHP::Gdn_ErrorHandler();

[/home/www/htdocs/library/core/class.autoloader.php:138] Gdn_Autoloader::RegisterMap();

[/home/www/htdocs/library/core/class.autoloader.php:86] Gdn_Autoloader::AttachApplication();

[/home/www/htdocs/bootstrap.php:79] Gdn_Autoloader::Attach();

[/home/www/htdocs/index.php:43] PHP::require_once();

Variables in local scope:

[MapType] 'controller'

[ContextType] 'application'

[SearchPath] '/home/www/htdocs/applications/Array/controllers'

[Options] array (
'SearchSubfolders' => false,
'Extension' =>
array (
'Ru' => 'maryaru',
),
'ContextPrefix' => 'a',
'ClassFilter' => '*',
'SaveToDisk' => true,
)

[DefaultOptions] array (
'SearchSubfolders' => true,
'Extension' => NULL,
'ContextPrefix' => 'a',
'ClassFilter' => '*',
'SaveToDisk' => true,
)

[Extension] array (
'Ru' => 'maryaru',
)

[Hits] 1

[MapRootLocation] '/home/www/htdocs/cache'

Error: Array to string conversion
Application Version: 2.1a4
PHP Version: 5.2.6
Operating System: FreeBSD
Server Software: Apache/1.3.37 (Unix) mod_deflate/1.0.21 rus/PL30.22
User Agent: Mozilla/5.0 (Windows NT 6.1; rv:8.0) Gecko/20100101 Firefox/8.0
Request Uri: /
Controller: Gdn_Autoloader
Method: RegisterMap

## Highlighted line is 396