alay 报错了
感觉不太好处理
[2024-10-29 15:20:30] flarum.ERROR: PDOException: SQLSTATE[23000]: Integrity constraint violation: 4025 CONSTRAINT `fl_lotteries.settings` failed for `flarum_db`.`fl_lotteries` in /www/wwwroot/zkizy.cd/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:117
Stack trace:
#0 /www/wwwroot/zkizy.cd/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(117): PDOStatement->execute()
#1 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(501): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(705): Illuminate\Database\Connection->Illuminate\Database\{closure}()
#3 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
#4 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(490): Illuminate\Database\Connection->run()
#5 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(454): Illuminate\Database\Connection->statement()
#6 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Query/Processors/Processor.php(32): Illuminate\Database\Connection->insert()
#7 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Query/Builder.php(3028): Illuminate\Database\Query\Processors\Processor->processInsertGetId()
#8 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Builder.php(1657): Illuminate\Database\Query\Builder->insertGetId()
#9 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1188): Illuminate\Database\Eloquent\Builder->__call()
#10 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1153): Illuminate\Database\Eloquent\Model->insertAndSetId()
#11 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(994): Illuminate\Database\Eloquent\Model->performInsert()
#12 /www/wwwroot/zkizy.cd/vendor/nodeloc/lottery/src/Commands/CreateLotteryHandler.php(113): Illuminate\Database\Eloquent\Model->save()
#13 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Database/AbstractModel.php(83): Nodeloc\Lottery\Commands\CreateLotteryHandler->Nodeloc\Lottery\Commands\{closure}()
#14 /www/wwwroot/zkizy.cd/vendor/illuminate/events/Dispatcher.php(404): Flarum\Database\AbstractModel::Flarum\Database\{closure}()
#15 /www/wwwroot/zkizy.cd/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#16 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Concerns/HasEvents.php(188): Illuminate\Events\Dispatcher->dispatch()
#17 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1035): Illuminate\Database\Eloquent\Model->fireModelEvent()
#18 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1006): Illuminate\Database\Eloquent\Model->finishSave()
#19 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(102): Illuminate\Database\Eloquent\Model->save()
#20 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
#21 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#22 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#23 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#24 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#25 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Discussion/Command/StartDiscussionHandler.php(81): Illuminate\Bus\Dispatcher->dispatch()
#26 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Discussion\Command\StartDiscussionHandler->handle()
#27 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#28 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#29 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#30 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#31 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Controller/CreateDiscussionController.php(61): Illuminate\Bus\Dispatcher->dispatch()
#32 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(116): Flarum\Api\Controller\CreateDiscussionController->data()
#33 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
#34 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
#35 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#36 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ExecuteRoute->process()
#37 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/AbstractPurgeCacheMiddleware.php(27): Laminas\Stratigility\Next->handle()
#38 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\AbstractPurgeCacheMiddleware->process()
#39 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/AbstractCacheTagsMiddleware.php(21): Laminas\Stratigility\Next->handle()
#40 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\AbstractCacheTagsMiddleware->process()
#41 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#42 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Api\Middleware\ThrottleApi->process()
#43 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/CacheControlMiddleware.php(26): Laminas\Stratigility\Next->handle()
#44 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\CacheControlMiddleware->process()
#45 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/VaryCookieMiddleware.php(30): Laminas\Stratigility\Next->handle()
#46 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\VaryCookieMiddleware->process()
#47 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
#48 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\CheckCsrfToken->process()
#49 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
#50 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ResolveRoute->process()
#51 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#52 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\SetLocale->process()
#53 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
#54 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#55 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#56 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithSession->process()
#57 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#58 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\RememberFromCookie->process()
#59 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#60 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\StartSession->process()
#61 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#62 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Api\Middleware\FakeHttpMethods->process()
#63 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#64 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ParseJsonBody->process()
#65 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#66 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\HandleErrors->process()
#67 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#68 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\InjectActorReference->process()
#69 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(77): Laminas\Stratigility\Next->handle()
#70 /www/wwwroot/zkizy.cd/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#71 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\RequestHandler->process()
#72 /www/wwwroot/zkizy.cd/vendor/middlewares/base-path-router/src/BasePathRouter.php(99): Laminas\Stratigility\Next->handle()
#73 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\BasePathRouter->process()
#74 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#75 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Laminas\Stratigility\Middleware\OriginalMessages->process()
#76 /www/wwwroot/zkizy.cd/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#77 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\BasePath->process()
#78 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#79 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ProcessIp->process()
#80 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(77): Laminas\Stratigility\Next->handle()
#81 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(66): Laminas\Stratigility\MiddlewarePipe->process()
#82 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(73): Laminas\Stratigility\MiddlewarePipe->handle()
#83 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#84 /www/wwwroot/zkizy.cd/public/index.php(29): Flarum\Http\Server->listen()
#85 {main}
Next Doctrine\DBAL\Driver\PDO\Exception: SQLSTATE[23000]: Integrity constraint violation: 4025 CONSTRAINT `fl_lotteries.settings` failed for `flarum_db`.`fl_lotteries` in /www/wwwroot/zkizy.cd/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDO/Exception.php:18
Stack trace:
#0 /www/wwwroot/zkizy.cd/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php(119): Doctrine\DBAL\Driver\PDO\Exception::new()
#1 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(501): Doctrine\DBAL\Driver\PDOStatement->execute()
#2 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(705): Illuminate\Database\Connection->Illuminate\Database\{closure}()
#3 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
#4 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(490): Illuminate\Database\Connection->run()
#5 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(454): Illuminate\Database\Connection->statement()
#6 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Query/Processors/Processor.php(32): Illuminate\Database\Connection->insert()
#7 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Query/Builder.php(3028): Illuminate\Database\Query\Processors\Processor->processInsertGetId()
#8 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Builder.php(1657): Illuminate\Database\Query\Builder->insertGetId()
#9 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1188): Illuminate\Database\Eloquent\Builder->__call()
#10 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1153): Illuminate\Database\Eloquent\Model->insertAndSetId()
#11 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(994): Illuminate\Database\Eloquent\Model->performInsert()
#12 /www/wwwroot/zkizy.cd/vendor/nodeloc/lottery/src/Commands/CreateLotteryHandler.php(113): Illuminate\Database\Eloquent\Model->save()
#13 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Database/AbstractModel.php(83): Nodeloc\Lottery\Commands\CreateLotteryHandler->Nodeloc\Lottery\Commands\{closure}()
#14 /www/wwwroot/zkizy.cd/vendor/illuminate/events/Dispatcher.php(404): Flarum\Database\AbstractModel::Flarum\Database\{closure}()
#15 /www/wwwroot/zkizy.cd/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#16 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Concerns/HasEvents.php(188): Illuminate\Events\Dispatcher->dispatch()
#17 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1035): Illuminate\Database\Eloquent\Model->fireModelEvent()
#18 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1006): Illuminate\Database\Eloquent\Model->finishSave()
#19 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(102): Illuminate\Database\Eloquent\Model->save()
#20 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
#21 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#22 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#23 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#24 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#25 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Discussion/Command/StartDiscussionHandler.php(81): Illuminate\Bus\Dispatcher->dispatch()
#26 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Discussion\Command\StartDiscussionHandler->handle()
#27 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#28 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#29 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#30 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#31 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Controller/CreateDiscussionController.php(61): Illuminate\Bus\Dispatcher->dispatch()
#32 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(116): Flarum\Api\Controller\CreateDiscussionController->data()
#33 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
#34 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
#35 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#36 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ExecuteRoute->process()
#37 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/AbstractPurgeCacheMiddleware.php(27): Laminas\Stratigility\Next->handle()
#38 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\AbstractPurgeCacheMiddleware->process()
#39 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/AbstractCacheTagsMiddleware.php(21): Laminas\Stratigility\Next->handle()
#40 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\AbstractCacheTagsMiddleware->process()
#41 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#42 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Api\Middleware\ThrottleApi->process()
#43 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/CacheControlMiddleware.php(26): Laminas\Stratigility\Next->handle()
#44 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\CacheControlMiddleware->process()
#45 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/VaryCookieMiddleware.php(30): Laminas\Stratigility\Next->handle()
#46 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\VaryCookieMiddleware->process()
#47 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
#48 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\CheckCsrfToken->process()
#49 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
#50 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ResolveRoute->process()
#51 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#52 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\SetLocale->process()
#53 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
#54 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#55 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#56 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithSession->process()
#57 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#58 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\RememberFromCookie->process()
#59 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#60 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\StartSession->process()
#61 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#62 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Api\Middleware\FakeHttpMethods->process()
#63 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#64 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ParseJsonBody->process()
#65 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#66 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\HandleErrors->process()
#67 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#68 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\InjectActorReference->process()
#69 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(77): Laminas\Stratigility\Next->handle()
#70 /www/wwwroot/zkizy.cd/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#71 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\RequestHandler->process()
#72 /www/wwwroot/zkizy.cd/vendor/middlewares/base-path-router/src/BasePathRouter.php(99): Laminas\Stratigility\Next->handle()
#73 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\BasePathRouter->process()
#74 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#75 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Laminas\Stratigility\Middleware\OriginalMessages->process()
#76 /www/wwwroot/zkizy.cd/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#77 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\BasePath->process()
#78 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#79 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ProcessIp->process()
#80 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(77): Laminas\Stratigility\Next->handle()
#81 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(66): Laminas\Stratigility\MiddlewarePipe->process()
#82 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(73): Laminas\Stratigility\MiddlewarePipe->handle()
#83 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#84 /www/wwwroot/zkizy.cd/public/index.php(29): Flarum\Http\Server->listen()
#85 {main}
Next Illuminate\Database\QueryException: SQLSTATE[23000]: Integrity constraint violation: 4025 CONSTRAINT `fl_lotteries.settings` failed for `flarum_db`.`fl_lotteries` (SQL: insert into `fl_lotteries` (`prizes`, `price`, `amount`, `post_id`, `user_id`, `end_date`, `min_participants`, `max_participants`, `can_cancel_enter`, `updated_at`, `created_at`) values (支付宝口令红包, 10, 1, 25, 1, 2024-10-30 00:15:00, 0, 999999, ?, 2024-10-29 15:20:30, 2024-10-29 15:20:30)) in /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php:712
Stack trace:
#0 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(672): Illuminate\Database\Connection->runQueryCallback()
#1 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(490): Illuminate\Database\Connection->run()
#2 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Connection.php(454): Illuminate\Database\Connection->statement()
#3 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Query/Processors/Processor.php(32): Illuminate\Database\Connection->insert()
#4 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Query/Builder.php(3028): Illuminate\Database\Query\Processors\Processor->processInsertGetId()
#5 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Builder.php(1657): Illuminate\Database\Query\Builder->insertGetId()
#6 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1188): Illuminate\Database\Eloquent\Builder->__call()
#7 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1153): Illuminate\Database\Eloquent\Model->insertAndSetId()
#8 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(994): Illuminate\Database\Eloquent\Model->performInsert()
#9 /www/wwwroot/zkizy.cd/vendor/nodeloc/lottery/src/Commands/CreateLotteryHandler.php(113): Illuminate\Database\Eloquent\Model->save()
#10 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Database/AbstractModel.php(83): Nodeloc\Lottery\Commands\CreateLotteryHandler->Nodeloc\Lottery\Commands\{closure}()
#11 /www/wwwroot/zkizy.cd/vendor/illuminate/events/Dispatcher.php(404): Flarum\Database\AbstractModel::Flarum\Database\{closure}()
#12 /www/wwwroot/zkizy.cd/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}()
#13 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Concerns/HasEvents.php(188): Illuminate\Events\Dispatcher->dispatch()
#14 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1035): Illuminate\Database\Eloquent\Model->fireModelEvent()
#15 /www/wwwroot/zkizy.cd/vendor/illuminate/database/Eloquent/Model.php(1006): Illuminate\Database\Eloquent\Model->finishSave()
#16 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Post/Command/PostReplyHandler.php(102): Illuminate\Database\Eloquent\Model->save()
#17 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Post\Command\PostReplyHandler->handle()
#18 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#19 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#20 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#21 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#22 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Discussion/Command/StartDiscussionHandler.php(81): Illuminate\Bus\Dispatcher->dispatch()
#23 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(122): Flarum\Discussion\Command\StartDiscussionHandler->handle()
#24 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(128): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}()
#25 /www/wwwroot/zkizy.cd/vendor/illuminate/pipeline/Pipeline.php(103): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}()
#26 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(132): Illuminate\Pipeline\Pipeline->then()
#27 /www/wwwroot/zkizy.cd/vendor/illuminate/bus/Dispatcher.php(78): Illuminate\Bus\Dispatcher->dispatchNow()
#28 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Controller/CreateDiscussionController.php(61): Illuminate\Bus\Dispatcher->dispatch()
#29 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(116): Flarum\Api\Controller\CreateDiscussionController->data()
#30 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Controller/AbstractCreateController.php(22): Flarum\Api\Controller\AbstractSerializeController->handle()
#31 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractCreateController->handle()
#32 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}()
#33 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ExecuteRoute->process()
#34 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/AbstractPurgeCacheMiddleware.php(27): Laminas\Stratigility\Next->handle()
#35 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\AbstractPurgeCacheMiddleware->process()
#36 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/AbstractCacheTagsMiddleware.php(21): Laminas\Stratigility\Next->handle()
#37 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\AbstractCacheTagsMiddleware->process()
#38 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle()
#39 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Api\Middleware\ThrottleApi->process()
#40 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/CacheControlMiddleware.php(26): Laminas\Stratigility\Next->handle()
#41 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\CacheControlMiddleware->process()
#42 /www/wwwroot/zkizy.cd/vendor/acpl/flarum-lscache/src/Middleware/VaryCookieMiddleware.php(30): Laminas\Stratigility\Next->handle()
#43 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): ACPL\FlarumLSCache\Middleware\VaryCookieMiddleware->process()
#44 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(44): Laminas\Stratigility\Next->handle()
#45 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\CheckCsrfToken->process()
#46 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle()
#47 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ResolveRoute->process()
#48 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle()
#49 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\SetLocale->process()
#50 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/AuthenticateWithHeader.php(58): Laminas\Stratigility\Next->handle()
#51 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithHeader->process()
#52 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle()
#53 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithSession->process()
#54 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle()
#55 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\RememberFromCookie->process()
#56 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle()
#57 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\StartSession->process()
#58 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Api/Middleware/FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle()
#59 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Api\Middleware\FakeHttpMethods->process()
#60 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle()
#61 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ParseJsonBody->process()
#62 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle()
#63 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\HandleErrors->process()
#64 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle()
#65 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\InjectActorReference->process()
#66 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(77): Laminas\Stratigility\Next->handle()
#67 /www/wwwroot/zkizy.cd/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process()
#68 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\RequestHandler->process()
#69 /www/wwwroot/zkizy.cd/vendor/middlewares/base-path-router/src/BasePathRouter.php(99): Laminas\Stratigility\Next->handle()
#70 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\BasePathRouter->process()
#71 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle()
#72 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Laminas\Stratigility\Middleware\OriginalMessages->process()
#73 /www/wwwroot/zkizy.cd/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle()
#74 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Middlewares\BasePath->process()
#75 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle()
#76 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/Next.php(52): Flarum\Http\Middleware\ProcessIp->process()
#77 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(77): Laminas\Stratigility\Next->handle()
#78 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(66): Laminas\Stratigility\MiddlewarePipe->process()
#79 /www/wwwroot/zkizy.cd/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(73): Laminas\Stratigility\MiddlewarePipe->handle()
#80 /www/wwwroot/zkizy.cd/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#81 /www/wwwroot/zkizy.cd/public/index.php(29): Flarum\Http\Server->listen()
#82 {main}