Try hard-refreshing this page to fix the error.
comes up in my browser after I install and turn on the ianm/synopsis extension.
I tried the following
composer remove ianm/synopsis
php flarum cache:clear
And the error persist, below is the error log. Anyone have any suggestions what shall I do about it?
And here is the error log:
[2021-08-20 01:54:50] flarum.ERROR: TypeError: Argument 3 passed to Askvortsov\FlarumWarnings\Access\UserPolicy::can() must be an instance of Flarum\User\User, string given in /Applications/MAMP/htdocs/flarum/vendor/askvortsov/flarum-moderator-warnings/src/Access/UserPolicy.php:26
Stack trace:
#0 [internal function]: Askvortsov\FlarumWarnings\Access\UserPolicy->can(Object(Flarum\User\User), 'shadowBan', 'Flarum\\User\\Use...')
#1 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/User/Access/AbstractPolicy.php(61): call_user_func_array(Array, Array)
#2 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/User/Access/Gate.php(78): Flarum\User\Access\AbstractPolicy->checkAbility(Object(Flarum\User\User), 'shadowBan', 'Flarum\\User\\Use...')
#3 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/User/User.php(775): Flarum\User\Access\Gate->allows(Object(Flarum\User\User), 'shadowBan', 'Flarum\\User\\Use...')
#4 /Applications/MAMP/htdocs/flarum/vendor/clarkwinkelmann/flarum-ext-shadow-ban/src/Scope/ViewUser.php(21): Flarum\User\User->can('shadowBan', 'Flarum\\User\\Use...')
#5 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Foundation/ContainerUtil.php(30): ClarkWinkelmann\ShadowBan\Scope\ViewUser->__invoke(Object(Flarum\User\User), Object(Illuminate\Database\Eloquent\Builder))
#6 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Database/ScopeVisibilityTrait.php(48): Flarum\Foundation\ContainerUtil::Flarum\Foundation\{closure}(Object(Flarum\User\User), Object(Illuminate\Database\Eloquent\Builder))
#7 /Applications/MAMP/htdocs/flarum/vendor/illuminate/database/Eloquent/Model.php(1405): Flarum\User\User->scopeWhereVisibleTo(Object(Illuminate\Database\Eloquent\Builder), Object(Flarum\User\User))
#8 /Applications/MAMP/htdocs/flarum/vendor/illuminate/database/Eloquent/Builder.php(1193): Illuminate\Database\Eloquent\Model->callNamedScope('whereVisibleTo', Array)
#9 /Applications/MAMP/htdocs/flarum/vendor/illuminate/database/Eloquent/Builder.php(1174): Illuminate\Database\Eloquent\Builder->Illuminate\Database\Eloquent\{closure}(Object(Illuminate\Database\Eloquent\Builder), Object(Flarum\User\User))
#10 /Applications/MAMP/htdocs/flarum/vendor/illuminate/database/Eloquent/Builder.php(1192): Illuminate\Database\Eloquent\Builder->callScope(Object(Closure), Array)
#11 /Applications/MAMP/htdocs/flarum/vendor/illuminate/database/Eloquent/Builder.php(1624): Illuminate\Database\Eloquent\Builder->callNamedScope('whereVisibleTo', Array)
#12 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/User/UserRepository.php(127): Illuminate\Database\Eloquent\Builder->__call('whereVisibleTo', Array)
#13 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/User/UserRepository.php(40): Flarum\User\UserRepository->scopeVisibleTo(Object(Illuminate\Database\Eloquent\Builder), Object(Flarum\User\User))
#14 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Api/Controller/ShowUserController.php(65): Flarum\User\UserRepository->findOrFail('1', Object(Flarum\User\User))
#15 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(110): Flarum\Api\Controller\ShowUserController->data(Object(Laminas\Diactoros\ServerRequest), Object(Tobscure\JsonApi\Document))
#16 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Laminas\Diactoros\ServerRequest))
#17 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#18 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#19 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#20 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\ThrottleApi->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#21 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#22 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#23 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#24 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#25 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#26 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#27 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#28 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#29 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#30 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#31 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Api/Client.php(144): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#32 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Api/Client.php(95): Flarum\Api\Client->send('GET', '/users/1')
#33 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(88): Flarum\Api\Client->get('/users/1')
#34 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(57): Flarum\Frontend\Content\CorePayload->getUserApiDocument(Object(Laminas\Diactoros\ServerRequest), Object(Flarum\User\User))
#35 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(46): Flarum\Frontend\Content\CorePayload->buildPayload(Object(IanM\NoMetaTitle\Overrides\Document), Object(Laminas\Diactoros\ServerRequest))
#36 /Applications/MAMP/htdocs/flarum/vendor/ianm/no-meta-title/Flarum/Frontend.php(63): Flarum\Frontend\Content\CorePayload->__invoke(Object(IanM\NoMetaTitle\Overrides\Document), Object(Laminas\Diactoros\ServerRequest))
#37 /Applications/MAMP/htdocs/flarum/vendor/ianm/no-meta-title/Flarum/Frontend.php(55): Flarum\Frontend\Frontend->populate(Object(IanM\NoMetaTitle\Overrides\Document), Object(Laminas\Diactoros\ServerRequest))
#38 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Frontend/Controller.php(32): Flarum\Frontend\Frontend->document(Object(Laminas\Diactoros\ServerRequest))
#39 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Frontend\Controller->handle(Object(Laminas\Diactoros\ServerRequest))
#40 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#41 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#42 /Applications/MAMP/htdocs/flarum/vendor/fof/stopforumspam/src/Middleware/RegisterMiddleware.php(101): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#43 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): FoF\StopForumSpam\Middleware\RegisterMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#44 /Applications/MAMP/htdocs/flarum/vendor/fof/ban-ips/src/Middleware/RegisterMiddleware.php(94): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#45 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): FoF\BanIPs\Middleware\RegisterMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#46 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ContentTypeOptionsHeader.php(21): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#47 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ContentTypeOptionsHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#48 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ReferrerPolicyHeader.php(30): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#49 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ReferrerPolicyHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#50 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/FlarumPromotionHeader.php(30): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#51 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\FlarumPromotionHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#52 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ShareErrorsFromSession.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#53 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ShareErrorsFromSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#54 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#55 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#56 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#57 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#58 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#59 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#60 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#61 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#62 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#63 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#64 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#65 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\StartSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#66 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/CollectGarbage.php(46): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#67 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CollectGarbage->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#68 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#69 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ParseJsonBody->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#70 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#71 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#72 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#73 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\InjectActorReference->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#74 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#75 /Applications/MAMP/htdocs/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#76 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\RequestHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#77 /Applications/MAMP/htdocs/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#78 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePathRouter->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#79 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#80 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Laminas\Stratigility\Middleware\OriginalMessages->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#81 /Applications/MAMP/htdocs/flarum/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#82 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePath->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#83 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#84 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ProcessIp->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#85 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#86 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#87 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#88 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#89 /Applications/MAMP/htdocs/flarum/public/index.php(26): Flarum\Http\Server->listen()
#90 {main}
[2021-08-20 01:56:39] flarum.ERROR: TypeError: Argument 3 passed to Askvortsov\FlarumWarnings\Access\UserPolicy::can() must be an instance of Flarum\User\User, string given in /Applications/MAMP/htdocs/flarum/vendor/askvortsov/flarum-moderator-warnings/src/Access/UserPolicy.php:26
Stack trace:
#0 [internal function]: Askvortsov\FlarumWarnings\Access\UserPolicy->can(Object(Flarum\User\User), 'shadowBan', 'Flarum\\User\\Use...')
#1 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/User/Access/AbstractPolicy.php(61): call_user_func_array(Array, Array)
#2 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/User/Access/Gate.php(78): Flarum\User\Access\AbstractPolicy->checkAbility(Object(Flarum\User\User), 'shadowBan', 'Flarum\\User\\Use...')
#3 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/User/User.php(775): Flarum\User\Access\Gate->allows(Object(Flarum\User\User), 'shadowBan', 'Flarum\\User\\Use...')
#4 /Applications/MAMP/htdocs/flarum/vendor/clarkwinkelmann/flarum-ext-shadow-ban/src/Scope/ViewUser.php(21): Flarum\User\User->can('shadowBan', 'Flarum\\User\\Use...')
#5 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Foundation/ContainerUtil.php(30): ClarkWinkelmann\ShadowBan\Scope\ViewUser->__invoke(Object(Flarum\User\User), Object(Illuminate\Database\Eloquent\Builder))
#6 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Database/ScopeVisibilityTrait.php(48): Flarum\Foundation\ContainerUtil::Flarum\Foundation\{closure}(Object(Flarum\User\User), Object(Illuminate\Database\Eloquent\Builder))
#7 /Applications/MAMP/htdocs/flarum/vendor/illuminate/database/Eloquent/Model.php(1405): Flarum\User\User->scopeWhereVisibleTo(Object(Illuminate\Database\Eloquent\Builder), Object(Flarum\User\User))
#8 /Applications/MAMP/htdocs/flarum/vendor/illuminate/database/Eloquent/Builder.php(1193): Illuminate\Database\Eloquent\Model->callNamedScope('whereVisibleTo', Array)
#9 /Applications/MAMP/htdocs/flarum/vendor/illuminate/database/Eloquent/Builder.php(1174): Illuminate\Database\Eloquent\Builder->Illuminate\Database\Eloquent\{closure}(Object(Illuminate\Database\Eloquent\Builder), Object(Flarum\User\User))
#10 /Applications/MAMP/htdocs/flarum/vendor/illuminate/database/Eloquent/Builder.php(1192): Illuminate\Database\Eloquent\Builder->callScope(Object(Closure), Array)
#11 /Applications/MAMP/htdocs/flarum/vendor/illuminate/database/Eloquent/Builder.php(1624): Illuminate\Database\Eloquent\Builder->callNamedScope('whereVisibleTo', Array)
#12 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/User/UserRepository.php(127): Illuminate\Database\Eloquent\Builder->__call('whereVisibleTo', Array)
#13 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/User/UserRepository.php(40): Flarum\User\UserRepository->scopeVisibleTo(Object(Illuminate\Database\Eloquent\Builder), Object(Flarum\User\User))
#14 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Api/Controller/ShowUserController.php(65): Flarum\User\UserRepository->findOrFail('1', Object(Flarum\User\User))
#15 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(110): Flarum\Api\Controller\ShowUserController->data(Object(Laminas\Diactoros\ServerRequest), Object(Tobscure\JsonApi\Document))
#16 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Laminas\Diactoros\ServerRequest))
#17 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#18 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#19 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#20 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\ThrottleApi->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#21 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#22 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#23 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#24 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#25 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#26 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#27 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#28 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#29 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#30 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#31 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Api/Client.php(144): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#32 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Api/Client.php(95): Flarum\Api\Client->send('GET', '/users/1')
#33 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(88): Flarum\Api\Client->get('/users/1')
#34 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(57): Flarum\Frontend\Content\CorePayload->getUserApiDocument(Object(Laminas\Diactoros\ServerRequest), Object(Flarum\User\User))
#35 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Frontend/Content/CorePayload.php(46): Flarum\Frontend\Content\CorePayload->buildPayload(Object(IanM\NoMetaTitle\Overrides\Document), Object(Laminas\Diactoros\ServerRequest))
#36 /Applications/MAMP/htdocs/flarum/vendor/ianm/no-meta-title/Flarum/Frontend.php(63): Flarum\Frontend\Content\CorePayload->__invoke(Object(IanM\NoMetaTitle\Overrides\Document), Object(Laminas\Diactoros\ServerRequest))
#37 /Applications/MAMP/htdocs/flarum/vendor/ianm/no-meta-title/Flarum/Frontend.php(55): Flarum\Frontend\Frontend->populate(Object(IanM\NoMetaTitle\Overrides\Document), Object(Laminas\Diactoros\ServerRequest))
#38 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Frontend/Controller.php(32): Flarum\Frontend\Frontend->document(Object(Laminas\Diactoros\ServerRequest))
#39 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Frontend\Controller->handle(Object(Laminas\Diactoros\ServerRequest))
#40 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#41 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#42 /Applications/MAMP/htdocs/flarum/vendor/fof/stopforumspam/src/Middleware/RegisterMiddleware.php(101): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#43 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): FoF\StopForumSpam\Middleware\RegisterMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#44 /Applications/MAMP/htdocs/flarum/vendor/fof/ban-ips/src/Middleware/RegisterMiddleware.php(94): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#45 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): FoF\BanIPs\Middleware\RegisterMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#46 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ContentTypeOptionsHeader.php(21): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#47 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ContentTypeOptionsHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#48 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ReferrerPolicyHeader.php(30): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#49 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ReferrerPolicyHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#50 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/FlarumPromotionHeader.php(30): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#51 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\FlarumPromotionHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#52 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ShareErrorsFromSession.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#53 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ShareErrorsFromSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#54 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#55 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#56 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(67): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#57 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#58 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#59 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#60 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#61 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#62 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#63 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#64 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#65 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\StartSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#66 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/CollectGarbage.php(46): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#67 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CollectGarbage->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#68 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#69 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ParseJsonBody->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#70 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#71 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#72 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#73 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\InjectActorReference->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#74 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#75 /Applications/MAMP/htdocs/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#76 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\RequestHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#77 /Applications/MAMP/htdocs/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#78 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePathRouter->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#79 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#80 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Laminas\Stratigility\Middleware\OriginalMessages->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#81 /Applications/MAMP/htdocs/flarum/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#82 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePath->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#83 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#84 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ProcessIp->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#85 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#86 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#87 /Applications/MAMP/htdocs/flarum/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#88 /Applications/MAMP/htdocs/flarum/vendor/flarum/core/src/Http/Server.php(44): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#89 /Applications/MAMP/htdocs/flarum/public/index.php(26): Flarum\Http\Server->listen()
#90 {main}