Closed hedeqiang closed 2 years ago
Hi, @hedeqiang 第二个参数不能传 null,如果你传的是 string,请告诉我怎么重现。
我安装了dcat,然后访问我的api接口,日志就疯狂的报错
@laradocs 复现步骤:
composer create-project laravel/laravel test //此时 laravel 版本为:v9.1.8
cd test
composer require dcat/laravel-admin:"2.*" -vvv
php artisan admin:publish
php artisan admin:install
接着再去访问 laravel 默认的首页,查看日志 就会出现此错误
这些日志 全都是在 安装了 dcat 之后 访问首页产生的
hedeqiang@geek ~/W/p/test (main) [SIGINT]> cat storage/logs/laravel.log
[2022-05-21 03:26:27] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(429): rtrim()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(264): admin_extension_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(117): Dcat\\Admin\\Extend\\Manager->getExtensionDirectories()
#10 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(64): Dcat\\Admin\\Extend\\Manager->load()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(243): Dcat\\Admin\\Extend\\Manager->register()
#12 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(96): Dcat\\Admin\\AdminServiceProvider->registerExtensions()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(686): Dcat\\Admin\\AdminServiceProvider->register()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\\Foundation\\Application->register()
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(663): Illuminate\\Foundation\\ProviderRepository->load()
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#20 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#21 {main}
"}
[2022-05-21 03:26:27] laravel.WARNING: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 429
[2022-05-21 03:26:27] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(431): ltrim()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(264): admin_extension_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(117): Dcat\\Admin\\Extend\\Manager->getExtensionDirectories()
#10 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(64): Dcat\\Admin\\Extend\\Manager->load()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(243): Dcat\\Admin\\Extend\\Manager->register()
#12 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(96): Dcat\\Admin\\AdminServiceProvider->registerExtensions()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(686): Dcat\\Admin\\AdminServiceProvider->register()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\\Foundation\\Application->register()
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(663): Illuminate\\Foundation\\ProviderRepository->load()
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#20 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#21 {main}
"}
[2022-05-21 03:26:27] laravel.WARNING: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 431
[2022-05-21 03:26:27] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(285): trim()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Admin.php(617): admin_base_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(136): Dcat\\Admin\\Admin::registerApiRoutes()
#10 /var/www/test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(428): Dcat\\Admin\\Application->Dcat\\Admin\\{closure}()
#11 /var/www/test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(386): Illuminate\\Routing\\Router->loadRoutes()
#12 /var/www/test/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(337): Illuminate\\Routing\\Router->group()
#13 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(155): Illuminate\\Support\\Facades\\Facade::__callStatic()
#14 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(135): Dcat\\Admin\\Application->loadRoutesFrom()
#15 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(73): Dcat\\Admin\\Application->registerRoute()
#16 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(147): Dcat\\Admin\\Application->boot()
#17 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(110): Dcat\\Admin\\AdminServiceProvider->bootApplication()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Dcat\\Admin\\AdminServiceProvider->boot()
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#20 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#21 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#22 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#23 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(928): Illuminate\\Container\\Container->call()
#24 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(909): Illuminate\\Foundation\\Application->bootProvider()
#25 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}()
#26 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(910): array_walk()
#27 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#28 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
#29 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#30 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#31 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#32 {main}
"}
[2022-05-21 03:26:27] laravel.WARNING: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 285
[2022-05-21 03:26:27] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(251): ucfirst()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(139): admin_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(73): Dcat\\Admin\\Application->registerRoute()
#10 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(147): Dcat\\Admin\\Application->boot()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(110): Dcat\\Admin\\AdminServiceProvider->bootApplication()
#12 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Dcat\\Admin\\AdminServiceProvider->boot()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(928): Illuminate\\Container\\Container->call()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(909): Illuminate\\Foundation\\Application->bootProvider()
#19 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}()
#20 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(910): array_walk()
#21 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#22 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
#23 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#24 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#25 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#26 {main}
"}
[2022-05-21 03:26:27] laravel.WARNING: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 251
[2022-05-21 03:26:28] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(429): rtrim()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(264): admin_extension_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(117): Dcat\\Admin\\Extend\\Manager->getExtensionDirectories()
#10 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(64): Dcat\\Admin\\Extend\\Manager->load()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(243): Dcat\\Admin\\Extend\\Manager->register()
#12 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(96): Dcat\\Admin\\AdminServiceProvider->registerExtensions()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(686): Dcat\\Admin\\AdminServiceProvider->register()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\\Foundation\\Application->register()
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(663): Illuminate\\Foundation\\ProviderRepository->load()
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#20 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#21 {main}
"}
[2022-05-21 03:26:28] laravel.WARNING: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 429
[2022-05-21 03:26:28] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(431): ltrim()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(264): admin_extension_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(117): Dcat\\Admin\\Extend\\Manager->getExtensionDirectories()
#10 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(64): Dcat\\Admin\\Extend\\Manager->load()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(243): Dcat\\Admin\\Extend\\Manager->register()
#12 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(96): Dcat\\Admin\\AdminServiceProvider->registerExtensions()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(686): Dcat\\Admin\\AdminServiceProvider->register()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\\Foundation\\Application->register()
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(663): Illuminate\\Foundation\\ProviderRepository->load()
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#20 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#21 {main}
"}
[2022-05-21 03:26:28] laravel.WARNING: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 431
[2022-05-21 03:26:28] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(285): trim()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Admin.php(617): admin_base_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(136): Dcat\\Admin\\Admin::registerApiRoutes()
#10 /var/www/test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(428): Dcat\\Admin\\Application->Dcat\\Admin\\{closure}()
#11 /var/www/test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(386): Illuminate\\Routing\\Router->loadRoutes()
#12 /var/www/test/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(337): Illuminate\\Routing\\Router->group()
#13 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(155): Illuminate\\Support\\Facades\\Facade::__callStatic()
#14 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(135): Dcat\\Admin\\Application->loadRoutesFrom()
#15 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(73): Dcat\\Admin\\Application->registerRoute()
#16 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(147): Dcat\\Admin\\Application->boot()
#17 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(110): Dcat\\Admin\\AdminServiceProvider->bootApplication()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Dcat\\Admin\\AdminServiceProvider->boot()
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#20 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#21 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#22 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#23 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(928): Illuminate\\Container\\Container->call()
#24 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(909): Illuminate\\Foundation\\Application->bootProvider()
#25 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}()
#26 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(910): array_walk()
#27 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#28 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
#29 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#30 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#31 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#32 {main}
"}
[2022-05-21 03:26:28] laravel.WARNING: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 285
[2022-05-21 03:26:28] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(251): ucfirst()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(139): admin_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(73): Dcat\\Admin\\Application->registerRoute()
#10 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(147): Dcat\\Admin\\Application->boot()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(110): Dcat\\Admin\\AdminServiceProvider->bootApplication()
#12 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Dcat\\Admin\\AdminServiceProvider->boot()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(928): Illuminate\\Container\\Container->call()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(909): Illuminate\\Foundation\\Application->bootProvider()
#19 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}()
#20 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(910): array_walk()
#21 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#22 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
#23 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#24 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#25 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#26 {main}
"}
[2022-05-21 03:26:28] laravel.WARNING: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 251
[2022-05-21 03:27:19] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(429): rtrim()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(264): admin_extension_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(117): Dcat\\Admin\\Extend\\Manager->getExtensionDirectories()
#10 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(64): Dcat\\Admin\\Extend\\Manager->load()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(243): Dcat\\Admin\\Extend\\Manager->register()
#12 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(96): Dcat\\Admin\\AdminServiceProvider->registerExtensions()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(686): Dcat\\Admin\\AdminServiceProvider->register()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\\Foundation\\Application->register()
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(663): Illuminate\\Foundation\\ProviderRepository->load()
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#20 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#21 {main}
"}
[2022-05-21 03:27:19] laravel.WARNING: rtrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 429
[2022-05-21 03:27:19] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(431): ltrim()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(264): admin_extension_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(117): Dcat\\Admin\\Extend\\Manager->getExtensionDirectories()
#10 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(64): Dcat\\Admin\\Extend\\Manager->load()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(243): Dcat\\Admin\\Extend\\Manager->register()
#12 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(96): Dcat\\Admin\\AdminServiceProvider->registerExtensions()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(686): Dcat\\Admin\\AdminServiceProvider->register()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\\Foundation\\Application->register()
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(663): Illuminate\\Foundation\\ProviderRepository->load()
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#20 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#21 {main}
"}
[2022-05-21 03:27:19] laravel.WARNING: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 431
[2022-05-21 03:27:19] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(285): trim()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Admin.php(617): admin_base_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(136): Dcat\\Admin\\Admin::registerApiRoutes()
#10 /var/www/test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(428): Dcat\\Admin\\Application->Dcat\\Admin\\{closure}()
#11 /var/www/test/vendor/laravel/framework/src/Illuminate/Routing/Router.php(386): Illuminate\\Routing\\Router->loadRoutes()
#12 /var/www/test/vendor/laravel/framework/src/Illuminate/Support/Facades/Facade.php(337): Illuminate\\Routing\\Router->group()
#13 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(155): Illuminate\\Support\\Facades\\Facade::__callStatic()
#14 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(135): Dcat\\Admin\\Application->loadRoutesFrom()
#15 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(73): Dcat\\Admin\\Application->registerRoute()
#16 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(147): Dcat\\Admin\\Application->boot()
#17 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(110): Dcat\\Admin\\AdminServiceProvider->bootApplication()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Dcat\\Admin\\AdminServiceProvider->boot()
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#20 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#21 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#22 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#23 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(928): Illuminate\\Container\\Container->call()
#24 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(909): Illuminate\\Foundation\\Application->bootProvider()
#25 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}()
#26 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(910): array_walk()
#27 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#28 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
#29 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#30 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#31 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#32 {main}
"}
[2022-05-21 03:27:19] laravel.WARNING: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 285
[2022-05-21 03:27:19] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(251): ucfirst()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(139): admin_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Application.php(73): Dcat\\Admin\\Application->registerRoute()
#10 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(147): Dcat\\Admin\\Application->boot()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(110): Dcat\\Admin\\AdminServiceProvider->bootApplication()
#12 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(36): Dcat\\Admin\\AdminServiceProvider->boot()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Util.php(41): Illuminate\\Container\\BoundMethod::Illuminate\\Container\\{closure}()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(93): Illuminate\\Container\\Util::unwrapIfClosure()
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/BoundMethod.php(37): Illuminate\\Container\\BoundMethod::callBoundMethod()
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Container/Container.php(651): Illuminate\\Container\\BoundMethod::call()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(928): Illuminate\\Container\\Container->call()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(909): Illuminate\\Foundation\\Application->bootProvider()
#19 [internal function]: Illuminate\\Foundation\\Application->Illuminate\\Foundation\\{closure}()
#20 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(910): array_walk()
#21 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(17): Illuminate\\Foundation\\Application->boot()
#22 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\BootProviders->bootstrap()
#23 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#24 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#25 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#26 {main}
"}
[2022-05-21 03:27:19] laravel.WARNING: ucfirst(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 251
[2022-05-21 03:27:30] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve()
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get()
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver()
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel()
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError()
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError()
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}()
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(431): ltrim()
#8 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(264): admin_extension_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(117): Dcat\\Admin\\Extend\\Manager->getExtensionDirectories()
#10 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(64): Dcat\\Admin\\Extend\\Manager->load()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(243): Dcat\\Admin\\Extend\\Manager->register()
#12 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(96): Dcat\\Admin\\AdminServiceProvider->registerExtensions()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(686): Dcat\\Admin\\AdminServiceProvider->register()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\\Foundation\\Application->register()
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(663): Illuminate\\Foundation\\ProviderRepository->load()
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap()
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(310): Illuminate\\Foundation\\Application->bootstrapWith()
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(127): Illuminate\\Foundation\\Console\\Kernel->bootstrap()
#20 /var/www/test/artisan(37): Illuminate\\Foundation\\Console\\Kernel->handle()
#21 {main}
"}
[2022-05-21 03:27:30] laravel.WARNING: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 431
[2022-05-21 03:27:38] laravel.EMERGENCY: Unable to create configured logger. Using emergency logger. {"exception":"[object] (InvalidArgumentException(code: 0): Log [deprecations] is not defined. at /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:207)
[stacktrace]
#0 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(132): Illuminate\\Log\\LogManager->resolve('deprecations', NULL)
#1 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(119): Illuminate\\Log\\LogManager->get('deprecations')
#2 /var/www/test/vendor/laravel/framework/src/Illuminate/Log/LogManager.php(108): Illuminate\\Log\\LogManager->driver('deprecations')
#3 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(122): Illuminate\\Log\\LogManager->channel('deprecations')
#4 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(71): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleDeprecationError('ltrim(): Passin...', '/var/www/test/v...', 431, 8192)
#5 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php(255): Illuminate\\Foundation\\Bootstrap\\HandleExceptions->handleError(8192, 'ltrim(): Passin...', '/var/www/test/v...', 431)
#6 [internal function]: Illuminate\\Foundation\\Bootstrap\\HandleExceptions->Illuminate\\Foundation\\Bootstrap\\{closure}(8192, 'ltrim(): Passin...', '/var/www/test/v...', 431)
#7 /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php(431): ltrim(NULL, '/')
#8 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(264): admin_extension_path()
#9 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(117): Dcat\\Admin\\Extend\\Manager->getExtensionDirectories()
#10 /var/www/test/vendor/dcat/laravel-admin/src/Extend/Manager.php(64): Dcat\\Admin\\Extend\\Manager->load()
#11 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(243): Dcat\\Admin\\Extend\\Manager->register()
#12 /var/www/test/vendor/dcat/laravel-admin/src/AdminServiceProvider.php(96): Dcat\\Admin\\AdminServiceProvider->registerExtensions()
#13 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(686): Dcat\\Admin\\AdminServiceProvider->register()
#14 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php(75): Illuminate\\Foundation\\Application->register(Object(Dcat\\Admin\\AdminServiceProvider))
#15 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(663): Illuminate\\Foundation\\ProviderRepository->load(Array)
#16 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/RegisterProviders.php(17): Illuminate\\Foundation\\Application->registerConfiguredProviders()
#17 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(239): Illuminate\\Foundation\\Bootstrap\\RegisterProviders->bootstrap(Object(Illuminate\\Foundation\\Application))
#18 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(153): Illuminate\\Foundation\\Application->bootstrapWith(Array)
#19 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(137): Illuminate\\Foundation\\Http\\Kernel->bootstrap()
#20 /var/www/test/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(111): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter(Object(Illuminate\\Http\\Request))
#21 /var/www/test/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle(Object(Illuminate\\Http\\Request))
#22 {main}
"}
[2022-05-21 03:27:38] laravel.WARNING: ltrim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Support/helpers.php on line 431
你这个不是最新的日志吧,我这边日志没有写入任何内容。
最新的,直接安装 laravel 我没有生成任何日志,安装完dcat 就是这样了
你这个不是最新的日志吧,我这边日志没有写入任何内容。
你的版本信息,我是 PHP 8.1, laravel9.x dcat 2.x
你用 2.0.x-dev
版本试试,在 composer.json
文件里面修改然后执行 composer update
你用
2.0.x-dev
版本试试,在composer.json
文件里面修改然后执行composer update
2.0.x-dev ,问题一消失,出现如下错误:
[2022-05-21 07:30:13] laravel.WARNING: trim(): Passing null to parameter #1 ($string) of type string is deprecated in /var/www/test/vendor/dcat/laravel-admin/src/Grid/Tools/QuickSearch.php on line 75
那就是你用的 php 版本太高了,详情见 composer.json
那就是你用的 php 版本太高了,详情见 composer.json
8.1.5
➜ ~ php -v PHP 8.0.18 (cli) (built: Apr 15 2022 09:41:02) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.18, Copyright (c) Zend Technologies with Zend OPcache v8.0.18, Copyright (c), by Zend Technologies
我用的 8.0.18 版本没有遇到过你的问题
我新建项目也是可以复现这类问题 我本地 8.1.5,和服务器 8.1.6 都是这种问题,日志一会儿就被打满了
我觉得 dcat 得检查下 php 8.1 了
Description:
目前发现两处错误日志 1:
2:
Steps To Reproduce: