http://localhost/mkk-forum/public/admin/ and http://localhost/mkk-forum/public shows me the error
I didn't find the notice line in the log, but here is the content of the log file, after enabling the extension:
[2018-12-10 12:21:46] production.ERROR: PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'discussions.id' in 'where clause' in /home/tamasurfi/dev/web/mkk-forum/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:61
Stack trace:
#0 /home/tamasurfi/dev/web/mkk-forum/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php(61): PDO->prepare('select * from ...', Array)
#1 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php(326): Doctrine\DBAL\Driver\PDOConnection->prepare('select * from
...')
#2 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php(657): Illuminate\Database\Connection->Illuminate\Database{closure}('select * from ...', Array)
#3 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php(624): Illuminate\Database\Connection->runQueryCallback('select * from
...', Array, Object(Closure))
#4 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php(333): Illuminate\Database\Connection->run('select * from ...', Array, Object(Closure))
#5 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Query/Builder.php(1719): Illuminate\Database\Connection->select('select * from
...', Array, true)
#6 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Query/Builder.php(1704): Illuminate\Database\Query\Builder->runSelect()
#7 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Eloquent/Builder.php(481): Illuminate\Database\Query\Builder->get(Array)
#8 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Eloquent/Builder.php(465): Illuminate\Database\Eloquent\Builder->getModels(Array)
#9 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Eloquent/Relations/Relation.php(154): Illuminate\Database\Eloquent\Builder->get(Array)
#10 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/User/User.php(429): Illuminate\Database\Eloquent\Relations\Relation->get()
#11 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/User/User.php(411): Flarum\User\User->getUnreadNotifications()
#12 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Serializer/CurrentUserSerializer.php(28): Flarum\User\User->getUnreadNotificationCount()
#13 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Serializer/AbstractSerializer.php(71): Flarum\Api\Serializer\CurrentUserSerializer->getDefaultAttributes(Object(Flarum\User\User))
#14 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Resource.php(169): Flarum\Api\Serializer\AbstractSerializer->getAttributes(Object(Flarum\User\User), NULL)
#15 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Resource.php(75): Tobscure\JsonApi\Resource->getAttributes()
#16 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Document.php(181): Tobscure\JsonApi\Resource->toArray()
#17 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Document.php(224): Tobscure\JsonApi\Document->toArray()
#18 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/JsonApiResponse.php(29): Tobscure\JsonApi\Document->jsonSerialize()
#19 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(113): Flarum\Api\JsonApiResponse->construct(Object(Tobscure\JsonApi\Document))
#20 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Client.php(71): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Zend\Diactoros\ServerRequest))
#21 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(91): Flarum\Api\Client->send(Object(Flarum\Api\Controller\ShowUserController), Object(Flarum\User\User), Array)
#22 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(59): Flarum\Frontend\Content\CorePayload->getUserApiDocument(Object(Flarum\User\User))
#23 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(48): Flarum\Frontend\Content\CorePayload->buildPayload(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#24 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Frontend.php(65): Flarum\Frontend\Content\CorePayload->invoke(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#25 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Frontend.php(57): Flarum\Frontend\Frontend->populate(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#26 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Controller.php(34): Flarum\Frontend\Frontend->document(Object(Zend\Diactoros\ServerRequest))
#27 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(40): Flarum\Frontend\Controller->handle(Object(Zend\Diactoros\ServerRequest))
#28 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/DispatchRoute.php(67): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}(Object(Zend\Diactoros\ServerRequest), Array)
#29 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\DispatchRoute->process(Object(Zend\Diactoros\ServerRequest), Object(Closure))
#30 /home/tamasurfi/dev/web/mkk-forum/vendor/flagrow/terms/src/Middlewares/RegisterMiddleware.php(59): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#31 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flagrow\Terms\Middlewares\RegisterMiddleware->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#32 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Admin/Middleware/RequireAdministrateAbility.php(28): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#33 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Admin\Middleware\RequireAdministrateAbility->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#34 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#35 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\SetLocale->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#36 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(34): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#37 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#38 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#39 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\RememberFromCookie->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#40 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/StartSession.php(62): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#41 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\StartSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#42 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(29): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#43 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\ParseJsonBody->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#44 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/HandleErrorsWithWhoops.php(43): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#45 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\HandleErrorsWithWhoops->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#46 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(91): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#47 /home/tamasurfi/dev/web/mkk-forum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Zend\Stratigility\MiddlewarePipe->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#48 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(78): Middlewares\RequestHandler->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#49 /home/tamasurfi/dev/web/mkk-forum/vendor/middlewares/base-path-router/src/BasePathRouter.php(97): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#50 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(78): Middlewares\BasePathRouter->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#51 /home/tamasurfi/dev/web/mkk-forum/vendor/middlewares/base-path/src/BasePath.php(53): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#52 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(78): Middlewares\BasePath->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#53 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-httphandlerrunner/src/RequestHandlerRunner.php(95): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#54 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Server.php(46): Zend\HttpHandlerRunner\RequestHandlerRunner->run()
#55 /home/tamasurfi/dev/web/mkk-forum/public/index.php(22): Flarum\Http\Server->listen()
#56 {main}
Next Doctrine\DBAL\Driver\PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'discussions.id' in 'where clause' in /home/tamasurfi/dev/web/mkk-forum/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php:63
Stack trace:
#0 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php(326): Doctrine\DBAL\Driver\PDOConnection->prepare('select * from ...')
#1 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php(657): Illuminate\Database\Connection->Illuminate\Database\{closure}('select * from
...', Array)
#2 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php(624): Illuminate\Database\Connection->runQueryCallback('select * from ...', Array, Object(Closure))
#3 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php(333): Illuminate\Database\Connection->run('select * from
...', Array, Object(Closure))
#4 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Query/Builder.php(1719): Illuminate\Database\Connection->select('select * from `...', Array, true)
#5 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Query/Builder.php(1704): Illuminate\Database\Query\Builder->runSelect()
#6 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Eloquent/Builder.php(481): Illuminate\Database\Query\Builder->get(Array)
#7 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Eloquent/Builder.php(465): Illuminate\Database\Eloquent\Builder->getModels(Array)
#8 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Eloquent/Relations/Relation.php(154): Illuminate\Database\Eloquent\Builder->get(Array)
#9 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/User/User.php(429): Illuminate\Database\Eloquent\Relations\Relation->get()
#10 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/User/User.php(411): Flarum\User\User->getUnreadNotifications()
#11 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Serializer/CurrentUserSerializer.php(28): Flarum\User\User->getUnreadNotificationCount()
#12 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Serializer/AbstractSerializer.php(71): Flarum\Api\Serializer\CurrentUserSerializer->getDefaultAttributes(Object(Flarum\User\User))
#13 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Resource.php(169): Flarum\Api\Serializer\AbstractSerializer->getAttributes(Object(Flarum\User\User), NULL)
#14 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Resource.php(75): Tobscure\JsonApi\Resource->getAttributes()
#15 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Document.php(181): Tobscure\JsonApi\Resource->toArray()
#16 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Document.php(224): Tobscure\JsonApi\Document->toArray()
#17 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/JsonApiResponse.php(29): Tobscure\JsonApi\Document->jsonSerialize()
#18 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(113): Flarum\Api\JsonApiResponse->construct(Object(Tobscure\JsonApi\Document))
#19 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Client.php(71): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Zend\Diactoros\ServerRequest))
#20 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(91): Flarum\Api\Client->send(Object(Flarum\Api\Controller\ShowUserController), Object(Flarum\User\User), Array)
#21 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(59): Flarum\Frontend\Content\CorePayload->getUserApiDocument(Object(Flarum\User\User))
#22 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(48): Flarum\Frontend\Content\CorePayload->buildPayload(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#23 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Frontend.php(65): Flarum\Frontend\Content\CorePayload->invoke(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#24 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Frontend.php(57): Flarum\Frontend\Frontend->populate(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#25 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Controller.php(34): Flarum\Frontend\Frontend->document(Object(Zend\Diactoros\ServerRequest))
#26 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(40): Flarum\Frontend\Controller->handle(Object(Zend\Diactoros\ServerRequest))
#27 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/DispatchRoute.php(67): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}(Object(Zend\Diactoros\ServerRequest), Array)
#28 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\DispatchRoute->process(Object(Zend\Diactoros\ServerRequest), Object(Closure))
#29 /home/tamasurfi/dev/web/mkk-forum/vendor/flagrow/terms/src/Middlewares/RegisterMiddleware.php(59): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#30 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flagrow\Terms\Middlewares\RegisterMiddleware->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#31 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Admin/Middleware/RequireAdministrateAbility.php(28): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#32 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Admin\Middleware\RequireAdministrateAbility->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#33 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#34 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\SetLocale->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#35 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(34): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#36 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#37 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#38 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\RememberFromCookie->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#39 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/StartSession.php(62): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#40 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\StartSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#41 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(29): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#42 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\ParseJsonBody->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#43 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/HandleErrorsWithWhoops.php(43): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#44 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\HandleErrorsWithWhoops->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#45 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(91): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#46 /home/tamasurfi/dev/web/mkk-forum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Zend\Stratigility\MiddlewarePipe->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#47 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(78): Middlewares\RequestHandler->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#48 /home/tamasurfi/dev/web/mkk-forum/vendor/middlewares/base-path-router/src/BasePathRouter.php(97): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#49 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(78): Middlewares\BasePathRouter->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#50 /home/tamasurfi/dev/web/mkk-forum/vendor/middlewares/base-path/src/BasePath.php(53): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#51 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(78): Middlewares\BasePath->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#52 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-httphandlerrunner/src/RequestHandlerRunner.php(95): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#53 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Server.php(46): Zend\HttpHandlerRunner\RequestHandlerRunner->run()
#54 /home/tamasurfi/dev/web/mkk-forum/public/index.php(22): Flarum\Http\Server->listen()
#55 {main}
Next Illuminate\Database\QueryException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'discussions.id' in 'where clause' (SQL: select * from flarum_notifications
where flarum_notifications
.user_id
= 1 and flarum_notifications
.user_id
is not null and type
in (discussionRenamed, postLiked, discussionLocked, postMentioned, userMentioned, newPost, userSuspended, userUnsuspended, postReacted, vote) and read_at
is null and is_deleted
= 0 and ((type
in (discussionRenamed, discussionLocked, newPost) and exists (select 1 from flarum_discussions
where id
= subject_id
and not exists (select 1 from flarum_discussion_tag
where 0 = 1 and flarum_discussions
.id
= discussion_id
) and (flarum_discussions
.is_private
= 0 or (flarum_discussions
.is_approved
= 0 or exists (select 1 from flarum_recipients
where discussions.id = discussion_id and removed_at
is null and (flarum_recipients
.user_id
= 1 or flarum_recipients
.group_id
in (1, 10))))))) or (type
in (postLiked, postMentioned, userMentioned, postReacted, vote) and exists (select 1 from flarum_posts
where id
= subject_id
and exists (select 1 from flarum_discussions
where flarum_discussions
.id
= flarum_posts
.discussion_id
and not exists (select 1 from flarum_discussion_tag
where 0 = 1 and flarum_discussions
.id
= discussion_id
) and (flarum_discussions
.is_private
= 0 or (flarum_discussions
.is_approved
= 0 or exists (select 1 from flarum_recipients
where discussions.id = discussion_id and removed_at
is null and (flarum_recipients
.user_id
= 1 or flarum_recipients
.group_id
in (1, 10)))))) and (flarum_posts
.is_private
= 0 or (flarum_posts
.is_approved
= 0)))) or (type
in (userSuspended, userUnsuspended) and exists (select 1 from flarum_users
where id
= subject_id
)))) in /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php:664
Stack trace:
#0 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php(624): Illuminate\Database\Connection->runQueryCallback('select * from ...', Array, Object(Closure))
#1 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Connection.php(333): Illuminate\Database\Connection->run('select * from
...', Array, Object(Closure))
#2 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Query/Builder.php(1719): Illuminate\Database\Connection->select('select * from `...', Array, true)
#3 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Query/Builder.php(1704): Illuminate\Database\Query\Builder->runSelect()
#4 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Eloquent/Builder.php(481): Illuminate\Database\Query\Builder->get(Array)
#5 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Eloquent/Builder.php(465): Illuminate\Database\Eloquent\Builder->getModels(Array)
#6 /home/tamasurfi/dev/web/mkk-forum/vendor/illuminate/database/Eloquent/Relations/Relation.php(154): Illuminate\Database\Eloquent\Builder->get(Array)
#7 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/User/User.php(429): Illuminate\Database\Eloquent\Relations\Relation->get()
#8 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/User/User.php(411): Flarum\User\User->getUnreadNotifications()
#9 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Serializer/CurrentUserSerializer.php(28): Flarum\User\User->getUnreadNotificationCount()
#10 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Serializer/AbstractSerializer.php(71): Flarum\Api\Serializer\CurrentUserSerializer->getDefaultAttributes(Object(Flarum\User\User))
#11 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Resource.php(169): Flarum\Api\Serializer\AbstractSerializer->getAttributes(Object(Flarum\User\User), NULL)
#12 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Resource.php(75): Tobscure\JsonApi\Resource->getAttributes()
#13 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Document.php(181): Tobscure\JsonApi\Resource->toArray()
#14 /home/tamasurfi/dev/web/mkk-forum/vendor/tobscure/json-api/src/Document.php(224): Tobscure\JsonApi\Document->toArray()
#15 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/JsonApiResponse.php(29): Tobscure\JsonApi\Document->jsonSerialize()
#16 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(113): Flarum\Api\JsonApiResponse->construct(Object(Tobscure\JsonApi\Document))
#17 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Api/Client.php(71): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Zend\Diactoros\ServerRequest))
#18 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(91): Flarum\Api\Client->send(Object(Flarum\Api\Controller\ShowUserController), Object(Flarum\User\User), Array)
#19 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(59): Flarum\Frontend\Content\CorePayload->getUserApiDocument(Object(Flarum\User\User))
#20 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(48): Flarum\Frontend\Content\CorePayload->buildPayload(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#21 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Frontend.php(65): Flarum\Frontend\Content\CorePayload->invoke(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#22 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Frontend.php(57): Flarum\Frontend\Frontend->populate(Object(Flarum\Frontend\Document), Object(Zend\Diactoros\ServerRequest))
#23 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Frontend/Controller.php(34): Flarum\Frontend\Frontend->document(Object(Zend\Diactoros\ServerRequest))
#24 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(40): Flarum\Frontend\Controller->handle(Object(Zend\Diactoros\ServerRequest))
#25 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/DispatchRoute.php(67): Flarum\Http\RouteHandlerFactory->Flarum\Http{closure}(Object(Zend\Diactoros\ServerRequest), Array)
#26 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\DispatchRoute->process(Object(Zend\Diactoros\ServerRequest), Object(Closure))
#27 /home/tamasurfi/dev/web/mkk-forum/vendor/flagrow/terms/src/Middlewares/RegisterMiddleware.php(59): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#28 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flagrow\Terms\Middlewares\RegisterMiddleware->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#29 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Admin/Middleware/RequireAdministrateAbility.php(28): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#30 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Admin\Middleware\RequireAdministrateAbility->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#31 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#32 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\SetLocale->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#33 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(34): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#34 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#35 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#36 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\RememberFromCookie->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#37 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/StartSession.php(62): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#38 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\StartSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#39 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(29): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#40 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\ParseJsonBody->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#41 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Middleware/HandleErrorsWithWhoops.php(43): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#42 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\HandleErrorsWithWhoops->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#43 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(91): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#44 /home/tamasurfi/dev/web/mkk-forum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Zend\Stratigility\MiddlewarePipe->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#45 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(78): Middlewares\RequestHandler->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#46 /home/tamasurfi/dev/web/mkk-forum/vendor/middlewares/base-path-router/src/BasePathRouter.php(97): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#47 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(78): Middlewares\BasePathRouter->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#48 /home/tamasurfi/dev/web/mkk-forum/vendor/middlewares/base-path/src/BasePath.php(53): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#49 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(78): Middlewares\BasePath->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\MiddlewarePipe))
#50 /home/tamasurfi/dev/web/mkk-forum/vendor/zendframework/zend-httphandlerrunner/src/RequestHandlerRunner.php(95): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#51 /home/tamasurfi/dev/web/mkk-forum/vendor/flarum/core/src/Http/Server.php(46): Zend\HttpHandlerRunner\RequestHandlerRunner->run()
#52 /home/tamasurfi/dev/web/mkk-forum/public/index.php(22): Flarum\Http\Server->listen()
#53 {main}