You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fatal error: Uncaught Exception: The PHP-DI definition is not indexed by an entry name in the definition array in
C:\new_xampp\htdocs\project\vendor\php-di\php-di\src\Definition\Source\DefinitionArray.php:45
Stack trace:
#0 C:\new_xampp\htdocs\project\vendor\php-di\php-di\src\ContainerBuilder.php(148):
DI\Definition\Source\DefinitionArray->__construct(Array, Object(DI\Definition\Source\ReflectionBasedAutowiring)) #1 [internal function]: DI\ContainerBuilder->DI{closure}(Array) #2 C:\new_xampp\htdocs\project\vendor\php-di\php-di\src\ContainerBuilder.php(143): array_map(Object(Closure), Array) #3 C:\new_xampp\htdocs\project\public\index.php(33): DI\ContainerBuilder->build() #4 {main}
thrown in C:\new_xampp\htdocs\project\vendor\php-di\php-di\src\Definition\Source\DefinitionArray.php on line45
The text was updated successfully, but these errors were encountered:
I don't think this is a bug in PHP-DI. Rather it is telling you you probably have a mistake in your configuration file (a definition is not indexed by a class name or a string).
Fatal error: Uncaught Exception: The PHP-DI definition is not indexed by an entry name in the definition array in
C:\new_xampp\htdocs\project\vendor\php-di\php-di\src\Definition\Source\DefinitionArray.php:45
Stack trace:
#0 C:\new_xampp\htdocs\project\vendor\php-di\php-di\src\ContainerBuilder.php(148):
DI\Definition\Source\DefinitionArray->__construct(Array, Object(DI\Definition\Source\ReflectionBasedAutowiring))
#1 [internal function]: DI\ContainerBuilder->DI{closure}(Array)
#2 C:\new_xampp\htdocs\project\vendor\php-di\php-di\src\ContainerBuilder.php(143): array_map(Object(Closure), Array)
#3 C:\new_xampp\htdocs\project\public\index.php(33): DI\ContainerBuilder->build()
#4 {main}
thrown in C:\new_xampp\htdocs\project\vendor\php-di\php-di\src\Definition\Source\DefinitionArray.php on line45
The text was updated successfully, but these errors were encountered: