讨论 使用交流 文库设置保存后爆500错误

文库设置保存后爆500错误

cjwbbs 发表于    阅读:185    回复:1

问题描述:

文库设置保存后爆500错误

环境信息:

MSCoreV3.7.0 ( With LARAVEL9 )
操作系统Linux
PHP版本V8.1.19
HTTP服务litespeed

复现步骤:

点击保存就会出现500报错。

日志:

product.ERROR: SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'value' cannot be null (SQL: insert into `config` (`key`, `value`, `updated_at`, `created_at`) values (Wenku_PreviewPageMaxGuest, ?, 2023-05-17 13:08:23, 2023-05-17 13:08:23)) {"exception":"[object] (Illuminate\\Database\\QueryException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'value' cannot be null (SQL: insert into `config` (`key`, `value`, `updated_at`, `created_at`) values (Wenku_PreviewPageMaxGuest, ?, 2023-05-17 13:08:23, 2023-05-17 13:08:23)) at /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php:760)
[stacktrace]
#0 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback()
#1 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(546): Illuminate\\Database\\Connection->run()
#2 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(498): Illuminate\\Database\\Connection->statement()
#3 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert()
#4 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3322): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId()
#5 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1869): Illuminate\\Database\\Query\\Builder->insertGetId()
#6 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1330): Illuminate\\Database\\Eloquent\\Builder->__call()
#7 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1295): Illuminate\\Database\\Eloquent\\Model->insertAndSetId()#8 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1138): Illuminate\\Database\\Eloquent\\Model->performInsert()
#9 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Core/Dao/ModelUtil.php(72): Illuminate\\Database\\Eloquent\\Model->save()
#10 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Core/Config/Driver/DatabaseMConfig.php(51): ModStart\\Core\\Dao\\ModelUtil::insert()
#11 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Layout/AdminConfigBuilder.php(104): ModStart\\Core\\Config\\Driver\\DatabaseMConfig->set()
#12 [internal function]: ModStart\\Admin\\Layout\\AdminConfigBuilder->ModStart\\Admin\\Layout\\{closure}()
#13 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Form/Form.php(488): call_user_func()
#14 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Layout/AdminConfigBuilder.php(108): ModStart\\Form\\Form->formRequest()
#15 /var/www/vhosts/duucloud.com/httpdocs/module/Wenku/Admin/Controller/ConfigController.php(154): ModStart\\Admin\\Layout\\AdminConfigBuilder->perform()
#16 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Module\\Wenku\\Admin\\Controller\\ConfigController->setting()
#17 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction()
#18 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#19 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController()
#20 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run()
#21 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#22 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Middleware/AuthMiddleware.php(238): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#23 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): ModStart\\Admin\\Middleware\\AuthMiddleware->handle()
#24 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Middleware/BootstrapMiddleware.php(23): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#25 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): ModStart\\Admin\\Middleware\\BootstrapMiddleware->handle()
#26 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#27 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then()
#28 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack()
#29 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute()
#30 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute()
#31 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch()
#32 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#33 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#34 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#35 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#36 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#37 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#38 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#39 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#40 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#41 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then()
#42 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#43 /var/www/vhosts/duucloud.com/httpdocs/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#44 {main}

[previous exception] [object] (Doctrine\\DBAL\\Driver\\PDO\\Exception(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'value' cannot be null at /var/www/vhosts/duucloud.com/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18)
[stacktrace]
#0 /var/www/vhosts/duucloud.com/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(119): Doctrine\\DBAL\\Driver\\PDO\\Exception::new()
#1 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(545): Doctrine\\DBAL\\Driver\\PDOStatement->execute()
#2 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(753): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}()
#3 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback()
#4 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(546): Illuminate\\Database\\Connection->run()
#5 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(498): Illuminate\\Database\\Connection->statement()
#6 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert()
#7 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3322): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId()
#8 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1869): Illuminate\\Database\\Query\\Builder->insertGetId()
#9 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1330): Illuminate\\Database\\Eloquent\\Builder->__call()
#10 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1295): Illuminate\\Database\\Eloquent\\Model->insertAndSetId()
#11 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1138): Illuminate\\Database\\Eloquent\\Model->performInsert()
#12 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Core/Dao/ModelUtil.php(72): Illuminate\\Database\\Eloquent\\Model->save()
#13 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Core/Config/Driver/DatabaseMConfig.php(51): ModStart\\Core\\Dao\\ModelUtil::insert()
#14 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Layout/AdminConfigBuilder.php(104): ModStart\\Core\\Config\\Driver\\DatabaseMConfig->set()
#15 [internal function]: ModStart\\Admin\\Layout\\AdminConfigBuilder->ModStart\\Admin\\Layout\\{closure}()
#16 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Form/Form.php(488): call_user_func()
#17 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Layout/AdminConfigBuilder.php(108): ModStart\\Form\\Form->formRequest()
#18 /var/www/vhosts/duucloud.com/httpdocs/module/Wenku/Admin/Controller/ConfigController.php(154): ModStart\\Admin\\Layout\\AdminConfigBuilder->perform()
#19 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Module\\Wenku\\Admin\\Controller\\ConfigController->setting()
#20 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction()
#21 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#22 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController()
#23 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run()
#24 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#25 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Middleware/AuthMiddleware.php(238): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#26 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): ModStart\\Admin\\Middleware\\AuthMiddleware->handle()
#27 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Middleware/BootstrapMiddleware.php(23): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): ModStart\\Admin\\Middleware\\BootstrapMiddleware->handle()
#29 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then()
#31 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack()
#32 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute()
#33 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute()
#34 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch()
#35 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#36 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#37 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#38 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#39 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#40 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#41 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#42 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#43 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#44 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then()
#45 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#46 /var/www/vhosts/duucloud.com/httpdocs/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#47 {main}

[previous exception] [object] (PDOException(code: 23000): SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'value' cannot be null at /var/www/vhosts/duucloud.com/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117)
[stacktrace]
#0 /var/www/vhosts/duucloud.com/httpdocs/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
#1 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(545): Doctrine\\DBAL\\Driver\\PDOStatement->execute()
#2 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(753): Illuminate\\Database\\Connection->Illuminate\\Database\\{closure}()
#3 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(720): Illuminate\\Database\\Connection->runQueryCallback()
#4 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(546): Illuminate\\Database\\Connection->run()
#5 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Connection.php(498): Illuminate\\Database\\Connection->statement()
#6 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Processors/Processor.php(32): Illuminate\\Database\\Connection->insert()
#7 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Query/Builder.php(3322): Illuminate\\Database\\Query\\Processors\\Processor->processInsertGetId()
#8 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Builder.php(1869): Illuminate\\Database\\Query\\Builder->insertGetId()
#9 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1330): Illuminate\\Database\\Eloquent\\Builder->__call()
#10 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1295): Illuminate\\Database\\Eloquent\\Model->insertAndSetId()
#11 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Database/Eloquent/Model.php(1138): Illuminate\\Database\\Eloquent\\Model->performInsert()
#12 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Core/Dao/ModelUtil.php(72): Illuminate\\Database\\Eloquent\\Model->save()
#13 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Core/Config/Driver/DatabaseMConfig.php(51): ModStart\\Core\\Dao\\ModelUtil::insert()
#14 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Layout/AdminConfigBuilder.php(104): ModStart\\Core\\Config\\Driver\\DatabaseMConfig->set()
#15 [internal function]: ModStart\\Admin\\Layout\\AdminConfigBuilder->ModStart\\Admin\\Layout\\{closure}()
#16 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Form/Form.php(488): call_user_func()
#17 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Layout/AdminConfigBuilder.php(108): ModStart\\Form\\Form->formRequest()
#18 /var/www/vhosts/duucloud.com/httpdocs/module/Wenku/Admin/Controller/ConfigController.php(154): ModStart\\Admin\\Layout\\AdminConfigBuilder->perform()
#19 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Controller.php(54): Module\\Wenku\\Admin\\Controller\\ConfigController->setting()
#20 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/ControllerDispatcher.php(43): Illuminate\\Routing\\Controller->callAction()
#21 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php(260): Illuminate\\Routing\\ControllerDispatcher->dispatch()
#22 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Route.php(205): Illuminate\\Routing\\Route->runController()
#23 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(798): Illuminate\\Routing\\Route->run()
#24 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Routing\\Router->Illuminate\\Routing\\{closure}()
#25 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Middleware/AuthMiddleware.php(238): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#26 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): ModStart\\Admin\\Middleware\\AuthMiddleware->handle()
#27 /var/www/vhosts/duucloud.com/httpdocs/vendor/modstart/modstart/src/Admin/Middleware/BootstrapMiddleware.php(23): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#28 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): ModStart\\Admin\\Middleware\\BootstrapMiddleware->handle()
#29 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#30 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(799): Illuminate\\Pipeline\\Pipeline->then()
#31 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(776): Illuminate\\Routing\\Router->runRouteWithinStack()
#32 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(740): Illuminate\\Routing\\Router->runRoute()
#33 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Routing/Router.php(729): Illuminate\\Routing\\Router->dispatchToRoute()
#34 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(190): Illuminate\\Routing\\Router->dispatch()
#35 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(141): Illuminate\\Foundation\\Http\\Kernel->Illuminate\\Foundation\\Http\\{closure}()
#36 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(121): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#37 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Session/Middleware/StartSession.php(64): Illuminate\\Session\\Middleware\\StartSession->handleStatefulRequest()
#38 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Session\\Middleware\\StartSession->handle()
#39 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/AddQueuedCookiesToResponse.php(37): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#40 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\AddQueuedCookiesToResponse->handle()
#41 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Cookie/Middleware/EncryptCookies.php(67): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#42 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(180): Illuminate\\Cookie\\Middleware\\EncryptCookies->handle()
#43 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Pipeline/Pipeline.php(116): Illuminate\\Pipeline\\Pipeline->Illuminate\\Pipeline\\{closure}()
#44 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(165): Illuminate\\Pipeline\\Pipeline->then()
#45 /var/www/vhosts/duucloud.com/httpdocs/vendor/laravel/framework/src/Illuminate/Foundation/Http/Kernel.php(134): Illuminate\\Foundation\\Http\\Kernel->sendRequestThroughRouter()
#46 /var/www/vhosts/duucloud.com/httpdocs/public/index.php(52): Illuminate\\Foundation\\Http\\Kernel->handle()
#47 {main}
"}


评论

设置 config 表的 value 可以为 NULL。

使用数据库管理工具操作。

 
1
我来评论
QQ
微信