在使用 Postman 在 Slim3 中发布 JWT 身份验证的电子邮件和密码时,我收到以下致命错误。我该如何解决这个问题?
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