Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Registration doesn't work with SQLite #592

Open
xepozz opened this issue Jul 23, 2023 · 0 comments
Open

Registration doesn't work with SQLite #592

xepozz opened this issue Jul 23, 2023 · 0 comments
Labels

Comments

@xepozz
Copy link
Contributor

xepozz commented Jul 23, 2023

I bet that all because of transactions in SQLite.

Way to reproduce:

  1. Clone project
  2. composer i
  3. Set BASE_URL=/ in .env
  4. ./yii serve
  5. Open site
  6. Try to sign up

What I expect:
The process done succesfuly

What I get:
Awaiting for long seconds and then exception:

PDOException: SQLSTATE[HY000]: General error: 5 database is locked in /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/cycle/database/src/Driver/Driver.php:374
Stack trace:
#0 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/cycle/database/src/Driver/Driver.php(374): PDO->commit()
#1 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/cycle/orm/src/Transaction/Runner.php(80): Cycle\Database\Driver\Driver->commitTransaction()
#2 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/cycle/orm/src/Transaction/UnitOfWork.php(122): Cycle\ORM\Transaction\Runner->complete()
#3 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/cycle/orm/src/EntityManager.php(47): Cycle\ORM\Transaction\UnitOfWork->run()
#4 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-cycle/src/Data/Writer/EntityWriter.php(25): Cycle\ORM\EntityManager->run()
#5 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/src/User/UserRepository.php(71): Yiisoft\Yii\Cycle\Data\Writer\EntityWriter->write(Array)
#6 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/src/Auth/Form/SignupForm.php(60): App\User\UserRepository->save(Object(App\User\User))
#7 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/src/Auth/Controller/SignupController.php(33): App\Auth\Form\SignupForm->signup()
#8 [internal function]: App\Auth\Controller\SignupController->signup(Object(App\Auth\AuthService), Object(HttpSoft\Message\ServerRequest), Object(App\Auth\Form\SignupForm), Object(App\Handler\NotFoundHandler))
#9 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/injector/src/Injector.php(68): ReflectionFunction->invokeArgs(Array)
#10 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareFactory.php(240): Yiisoft\Injector\Injector->invoke(Object(Closure), Array)
#11 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Psr\Http\Server\MiddlewareInterface@anonymous->process(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#12 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/rate-limiter/src/LimitRequestsMiddleware.php(44): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#13 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareFactory.php(185): Yiisoft\Yii\RateLimiter\LimitRequestsMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#14 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Psr\Http\Server\MiddlewareInterface@anonymous->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#15 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-debug-viewer/src/Middleware/ToolbarMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#16 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Debug\Viewer\Middleware\ToolbarMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#17 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/data-response/src/Middleware/FormatDataResponse.php(29): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#18 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\DataResponse\Middleware\FormatDataResponse->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#19 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/csrf/src/CsrfMiddleware.php(48): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#20 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Csrf\CsrfMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#21 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-debug-api/src/Middleware/DebugHeaders.php(26): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#22 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Debug\Api\Middleware\DebugHeaders->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#23 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(49): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#24 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareDispatcher.php(48): Yiisoft\Middleware\Dispatcher\MiddlewareStack->handle(Object(HttpSoft\Message\ServerRequest))
#25 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/router/src/MatchingResult.php(112): Yiisoft\Middleware\Dispatcher\MiddlewareDispatcher->dispatch(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#26 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/router/src/Middleware/Router.php(59): Yiisoft\Router\MatchingResult->process(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#27 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Router\Middleware\Router->process(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#28 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-middleware/src/Locale.php(111): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#29 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Middleware\Locale->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#30 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-middleware/src/Subfolder.php(80): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#31 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Middleware\Subfolder->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#32 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/user/src/Login/Cookie/CookieLoginMiddleware.php(71): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#33 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\User\Login\Cookie\CookieLoginMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#34 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/cookies/src/CookieMiddleware.php(84): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#35 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Cookies\CookieMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#36 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/session/src/SessionMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#37 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Session\SessionMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#38 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-sentry/src/SentryMiddleware.php(27): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#39 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Sentry\SentryMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#40 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/error-handler/src/Middleware/ErrorCatcher.php(124): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#41 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\ErrorHandler\Middleware\ErrorCatcher->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#42 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(49): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#43 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareDispatcher.php(48): Yiisoft\Middleware\Dispatcher\MiddlewareStack->handle(Object(HttpSoft\Message\ServerRequest))
#44 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-http/src/Application.php(77): Yiisoft\Middleware\Dispatcher\MiddlewareDispatcher->dispatch(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#45 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-runner-http/src/HttpApplicationRunner.php(140): Yiisoft\Yii\Http\Application->handle(Object(HttpSoft\Message\ServerRequest))
#46 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/public/index.php(40): Yiisoft\Yii\Runner\Http\HttpApplicationRunner->run()
#47 {main}

Next Cycle\Database\Exception\StatementException: SQLSTATE[HY000]: General error: 5 database is locked in /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/cycle/database/src/Driver/SQLite/SQLiteDriver.php:39
Stack trace:
#0 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/cycle/database/src/Driver/Driver.php(376): Cycle\Database\Driver\SQLite\SQLiteDriver->mapException(Object(PDOException), 'COMMIT TRANSACT...')
#1 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/cycle/orm/src/Transaction/Runner.php(80): Cycle\Database\Driver\Driver->commitTransaction()
#2 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/cycle/orm/src/Transaction/UnitOfWork.php(122): Cycle\ORM\Transaction\Runner->complete()
#3 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/cycle/orm/src/EntityManager.php(47): Cycle\ORM\Transaction\UnitOfWork->run()
#4 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-cycle/src/Data/Writer/EntityWriter.php(25): Cycle\ORM\EntityManager->run()
#5 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/src/User/UserRepository.php(71): Yiisoft\Yii\Cycle\Data\Writer\EntityWriter->write(Array)
#6 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/src/Auth/Form/SignupForm.php(60): App\User\UserRepository->save(Object(App\User\User))
#7 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/src/Auth/Controller/SignupController.php(33): App\Auth\Form\SignupForm->signup()
#8 [internal function]: App\Auth\Controller\SignupController->signup(Object(App\Auth\AuthService), Object(HttpSoft\Message\ServerRequest), Object(App\Auth\Form\SignupForm), Object(App\Handler\NotFoundHandler))
#9 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/injector/src/Injector.php(68): ReflectionFunction->invokeArgs(Array)
#10 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareFactory.php(240): Yiisoft\Injector\Injector->invoke(Object(Closure), Array)
#11 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Psr\Http\Server\MiddlewareInterface@anonymous->process(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#12 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/rate-limiter/src/LimitRequestsMiddleware.php(44): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#13 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareFactory.php(185): Yiisoft\Yii\RateLimiter\LimitRequestsMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#14 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Psr\Http\Server\MiddlewareInterface@anonymous->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#15 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-debug-viewer/src/Middleware/ToolbarMiddleware.php(38): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#16 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Debug\Viewer\Middleware\ToolbarMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#17 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/data-response/src/Middleware/FormatDataResponse.php(29): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#18 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\DataResponse\Middleware\FormatDataResponse->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#19 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/csrf/src/CsrfMiddleware.php(48): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#20 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Csrf\CsrfMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#21 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-debug-api/src/Middleware/DebugHeaders.php(26): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#22 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Debug\Api\Middleware\DebugHeaders->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#23 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(49): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#24 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareDispatcher.php(48): Yiisoft\Middleware\Dispatcher\MiddlewareStack->handle(Object(HttpSoft\Message\ServerRequest))
#25 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/router/src/MatchingResult.php(112): Yiisoft\Middleware\Dispatcher\MiddlewareDispatcher->dispatch(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#26 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/router/src/Middleware/Router.php(59): Yiisoft\Router\MatchingResult->process(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#27 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Router\Middleware\Router->process(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#28 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-middleware/src/Locale.php(111): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#29 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Middleware\Locale->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#30 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-middleware/src/Subfolder.php(80): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#31 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Middleware\Subfolder->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#32 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/user/src/Login/Cookie/CookieLoginMiddleware.php(71): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#33 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\User\Login\Cookie\CookieLoginMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#34 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/cookies/src/CookieMiddleware.php(84): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#35 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Cookies\CookieMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#36 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/session/src/SessionMiddleware.php(36): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#37 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Session\SessionMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#38 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-sentry/src/SentryMiddleware.php(27): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#39 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\Yii\Sentry\SentryMiddleware->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#40 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/error-handler/src/Middleware/ErrorCatcher.php(124): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#41 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(93): Yiisoft\ErrorHandler\Middleware\ErrorCatcher->process(Object(HttpSoft\Message\ServerRequest), Object(Psr\Http\Server\RequestHandlerInterface@anonymous))
#42 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareStack.php(49): Psr\Http\Server\RequestHandlerInterface@anonymous->handle(Object(HttpSoft\Message\ServerRequest))
#43 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/middleware-dispatcher/src/MiddlewareDispatcher.php(48): Yiisoft\Middleware\Dispatcher\MiddlewareStack->handle(Object(HttpSoft\Message\ServerRequest))
#44 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-http/src/Application.php(77): Yiisoft\Middleware\Dispatcher\MiddlewareDispatcher->dispatch(Object(HttpSoft\Message\ServerRequest), Object(App\Handler\NotFoundHandler))
#45 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/vendor/yiisoft/yii-runner-http/src/HttpApplicationRunner.php(140): Yiisoft\Yii\Http\Application->handle(Object(HttpSoft\Message\ServerRequest))
#46 /Users/xepozz/PhpstormProjects/xepozz/yii-short/demo/blog/public/index.php(40): Yiisoft\Yii\Runner\Http\HttpApplicationRunner->run()
#47 {main}
image
@xepozz xepozz added the type:bug Bug label Jul 23, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant