FriendsOfFlarum / byobu

Well integrated, advanced private discussions for your Flarum forum.
https://discuss.flarum.org/d/4762-flagrow-by-bu-well-integrated-advanced-private-discussions
MIT License
54 stars 33 forks source link

Stoage.ts t not found #188

Closed qianmoQ closed 1 year ago

qianmoQ commented 1 year ago
[2023-07-21 04:53:23] flarum.ERROR: ParseError: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in /app/vendor/fof/byobu/src/Discussion/Screener.php:111
Stack trace:
#0 /app/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/app/vendor/com...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('FoF\\Byobu\\Discu...')
#2 [internal function]: spl_autoload_call('FoF\\Byobu\\Discu...')
#3 /app/vendor/illuminate/container/Container.php(877): ReflectionClass->__construct('FoF\\Byobu\\Discu...')
#4 /app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build('FoF\\Byobu\\Discu...')
#5 /app/vendor/illuminate/container/Container.php(296): Illuminate\Container\Container->resolve('FoF\\Byobu\\Discu...', Array, false)
#6 /app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}(Object(Illuminate\Container\Container), Array)
#7 /app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build(Object(Closure))
#8 /app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve('byobu.screener', Array)
#9 /app/vendor/flarum/core/src/helpers.php(25): Illuminate\Container\Container->make('byobu.screener', Array)
#10 /app/vendor/fof/byobu/src/Access/DiscussionPolicy.php(93): resolve('byobu.screener')
#11 /app/vendor/fof/byobu/src/Access/DiscussionPolicy.php(80): FoF\Byobu\Access\DiscussionPolicy->isPrivate(Object(Flarum\Discussion\Discussion))
#12 [internal function]: FoF\Byobu\Access\DiscussionPolicy->tag(Object(Flarum\User\User), Object(Flarum\Discussion\Discussion))
#13 /app/vendor/flarum/core/src/User/Access/AbstractPolicy.php(50): call_user_func_array(Array, Array)
#14 /app/vendor/flarum/core/src/User/Access/Gate.php(78): Flarum\User\Access\AbstractPolicy->checkAbility(Object(Flarum\User\User), 'tag', Object(Flarum\Discussion\Discussion))
#15 /app/vendor/flarum/core/src/User/User.php(788): Flarum\User\Access\Gate->allows(Object(Flarum\User\User), 'tag', Object(Flarum\Discussion\Discussion))
#16 /app/vendor/flarum/tags/extend.php(73): Flarum\User\User->can('tag', Object(Flarum\Discussion\Discussion))
#17 /app/vendor/flarum/core/src/Extend/ApiSerializer.php(143): Flarum\Extension\Extension->{closure}(Object(Flarum\Api\Serializer\DiscussionSerializer), Object(Flarum\Discussion\Discussion), Array)
#18 /app/vendor/flarum/core/src/Api/Serializer/AbstractSerializer.php(95): Flarum\Extend\ApiSerializer->Flarum\Extend\{closure}(Object(Flarum\Api\Serializer\DiscussionSerializer), Object(Flarum\Discussion\Discussion), Array)
#19 /app/vendor/sycho/json-api/src/Resource.php(183): Flarum\Api\Serializer\AbstractSerializer->getAttributes(Object(Flarum\Discussion\Discussion), NULL)
#20 /app/vendor/sycho/json-api/src/Resource.php(81): Tobscure\JsonApi\Resource->getAttributes()
#21 /app/vendor/sycho/json-api/src/Collection.php(113): Tobscure\JsonApi\Resource->toArray()
#22 [internal function]: Tobscure\JsonApi\Collection->Tobscure\JsonApi\{closure}(Object(Tobscure\JsonApi\Resource))
#23 /app/vendor/sycho/json-api/src/Collection.php(114): array_map(Object(Closure), Array)
#24 /app/vendor/sycho/json-api/src/Document.php(188): Tobscure\JsonApi\Collection->toArray()
#25 /app/vendor/sycho/json-api/src/Document.php(232): Tobscure\JsonApi\Document->toArray()
#26 /app/vendor/flarum/core/src/Api/JsonApiResponse.php(27): Tobscure\JsonApi\Document->jsonSerialize()
#27 /app/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(139): Flarum\Api\JsonApiResponse->__construct(Object(Tobscure\JsonApi\Document))
#28 /app/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Laminas\Diactoros\ServerRequest))
#29 /app/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#30 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#31 /app/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#32 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\ThrottleApi->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#33 /app/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#34 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#35 /app/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#36 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#37 /app/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#38 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#39 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#40 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#41 /app/vendor/flarum/core/src/Api/Client.php(141): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#42 /app/vendor/flarum/core/src/Api/Client.php(91): Flarum\Api\Client->send('GET', '/discussions')
#43 /app/vendor/flarum/core/src/Forum/Content/Index.php(108): Flarum\Api\Client->get('/discussions')
#44 /app/vendor/flarum/core/src/Forum/Content/Index.php(85): Flarum\Forum\Content\Index->getApiDocument(Object(Laminas\Diactoros\ServerRequest), Array)
#45 /app/vendor/flarum/core/src/Frontend/Frontend.php(62): Flarum\Forum\Content\Index->__invoke(Object(Flarum\Frontend\Document), Object(Laminas\Diactoros\ServerRequest))
#46 /app/vendor/flarum/core/src/Frontend/Frontend.php(54): Flarum\Frontend\Frontend->populate(Object(Flarum\Frontend\Document), Object(Laminas\Diactoros\ServerRequest))
#47 /app/vendor/flarum/core/src/Frontend/Controller.php(32): Flarum\Frontend\Frontend->document(Object(Laminas\Diactoros\ServerRequest))
#48 /app/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Frontend\Controller->handle(Object(Laminas\Diactoros\ServerRequest))
#49 /app/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#50 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#51 /app/vendor/fof/ban-ips/src/Middleware/RegisterMiddleware.php(94): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#52 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): FoF\BanIPs\Middleware\RegisterMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#53 /app/vendor/fof/oauth/src/Middleware/ErrorHandler.php(50): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#54 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): FoF\OAuth\Middleware\ErrorHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#55 /app/vendor/flarum/core/src/Http/Middleware/ContentTypeOptionsHeader.php(21): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#56 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ContentTypeOptionsHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#57 /app/vendor/flarum/core/src/Http/Middleware/ReferrerPolicyHeader.php(30): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#58 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ReferrerPolicyHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#59 /app/vendor/flarum/core/src/Http/Middleware/FlarumPromotionHeader.php(30): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#60 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\FlarumPromotionHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#61 /app/vendor/flarum/core/src/Http/Middleware/ShareErrorsFromSession.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#62 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ShareErrorsFromSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#63 /app/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#64 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#65 /app/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#66 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#67 /app/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#68 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#69 /app/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#70 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#71 /app/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#72 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#73 /app/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#74 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\StartSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#75 /app/vendor/flarum/core/src/Http/Middleware/CollectGarbage.php(46): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#76 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CollectGarbage->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#77 /app/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#78 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ParseJsonBody->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#79 /app/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#80 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#81 /app/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#82 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\InjectActorReference->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#83 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#84 /app/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#85 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\RequestHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#86 /app/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#87 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePathRouter->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#88 /app/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#89 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Laminas\Stratigility\Middleware\OriginalMessages->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#90 /app/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#91 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePath->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#92 /app/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#93 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ProcessIp->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#94 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#95 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#96 /app/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#97 /app/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#98 /app/public/index.php(26): Flarum\Http\Server->listen()
#99 {main}
[2023-07-21 04:53:41] flarum.ERROR: ParseError: syntax error, unexpected '->' (T_OBJECT_OPERATOR) in /app/vendor/fof/byobu/src/Discussion/Screener.php:111
Stack trace:
#0 /app/vendor/composer/ClassLoader.php(322): Composer\Autoload\includeFile('/app/vendor/com...')
#1 [internal function]: Composer\Autoload\ClassLoader->loadClass('FoF\\Byobu\\Discu...')
#2 [internal function]: spl_autoload_call('FoF\\Byobu\\Discu...')
#3 /app/vendor/illuminate/container/Container.php(877): ReflectionClass->__construct('FoF\\Byobu\\Discu...')
#4 /app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build('FoF\\Byobu\\Discu...')
#5 /app/vendor/illuminate/container/Container.php(296): Illuminate\Container\Container->resolve('FoF\\Byobu\\Discu...', Array, false)
#6 /app/vendor/illuminate/container/Container.php(873): Illuminate\Container\Container->Illuminate\Container\{closure}(Object(Illuminate\Container\Container), Array)
#7 /app/vendor/illuminate/container/Container.php(758): Illuminate\Container\Container->build(Object(Closure))
#8 /app/vendor/illuminate/container/Container.php(694): Illuminate\Container\Container->resolve('byobu.screener', Array)
#9 /app/vendor/flarum/core/src/helpers.php(25): Illuminate\Container\Container->make('byobu.screener', Array)
#10 /app/vendor/fof/byobu/src/Listeners/GetModelIsPrivate.php(22): resolve('byobu.screener')
#11 /app/vendor/flarum/core/src/Foundation/ContainerUtil.php(30): FoF\Byobu\Listeners\GetModelIsPrivate->__invoke(Object(Flarum\Discussion\Discussion))
#12 /app/vendor/flarum/core/src/Database/DatabaseServiceProvider.php(77): Flarum\Foundation\ContainerUtil::Flarum\Foundation\{closure}(Object(Flarum\Discussion\Discussion))
#13 /app/vendor/illuminate/events/Dispatcher.php(404): Flarum\Database\DatabaseServiceProvider->Flarum\Database\{closure}(Object(Flarum\Discussion\Discussion))
#14 /app/vendor/illuminate/events/Dispatcher.php(249): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('eloquent.saving...', Array)
#15 /app/vendor/illuminate/events/Dispatcher.php(222): Illuminate\Events\Dispatcher->dispatch('eloquent.saving...', Array, true)
#16 /app/vendor/illuminate/database/Eloquent/Concerns/HasEvents.php(189): Illuminate\Events\Dispatcher->until('eloquent.saving...', Object(Flarum\Discussion\Discussion))
#17 /app/vendor/illuminate/database/Eloquent/Model.php(978): Illuminate\Database\Eloquent\Model->fireModelEvent('saving')
#18 /app/vendor/michaelbelgium/flarum-discussion-views/src/Listeners/AddDiscussionViewHandler.php(60): Illuminate\Database\Eloquent\Model->save()
#19 /app/vendor/flarum/core/src/Foundation/ContainerUtil.php(30): Michaelbelgium\Discussionviews\Listeners\AddDiscussionViewHandler->__invoke(Object(Flarum\Api\Controller\ShowDiscussionController), Object(Flarum\Discussion\Discussion), Object(Laminas\Diactoros\ServerRequest), Object(Tobscure\JsonApi\Document))
#20 /app/vendor/flarum/core/src/Api/Controller/AbstractSerializeController.php(121): Flarum\Foundation\ContainerUtil::Flarum\Foundation\{closure}(Object(Flarum\Api\Controller\ShowDiscussionController), Object(Flarum\Discussion\Discussion), Object(Laminas\Diactoros\ServerRequest), Object(Tobscure\JsonApi\Document))
#21 /app/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Laminas\Diactoros\ServerRequest))
#22 /app/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#23 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#24 /app/vendor/flarum/core/src/Api/Middleware/ThrottleApi.php(33): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#25 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Api\Middleware\ThrottleApi->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#26 /app/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#27 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#28 /app/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#29 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#30 /app/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#31 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#32 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#33 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#34 /app/vendor/flarum/core/src/Api/Client.php(141): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#35 /app/vendor/flarum/core/src/Api/Client.php(91): Flarum\Api\Client->send('GET', '/discussions/34...')
#36 /app/vendor/flarum/core/src/Forum/Content/Discussion.php(121): Flarum\Api\Client->get('/discussions/34...')
#37 /app/vendor/flarum/core/src/Forum/Content/Discussion.php(65): Flarum\Forum\Content\Discussion->getApiDocument(Object(Laminas\Diactoros\ServerRequest), '34-qu-fen-qian-...', Array)
#38 /app/vendor/flarum/core/src/Frontend/Frontend.php(62): Flarum\Forum\Content\Discussion->__invoke(Object(Flarum\Frontend\Document), Object(Laminas\Diactoros\ServerRequest))
#39 /app/vendor/flarum/core/src/Frontend/Frontend.php(54): Flarum\Frontend\Frontend->populate(Object(Flarum\Frontend\Document), Object(Laminas\Diactoros\ServerRequest))
#40 /app/vendor/flarum/core/src/Frontend/Controller.php(32): Flarum\Frontend\Frontend->document(Object(Laminas\Diactoros\ServerRequest))
#41 /app/vendor/flarum/core/src/Http/RouteHandlerFactory.php(41): Flarum\Frontend\Controller->handle(Object(Laminas\Diactoros\ServerRequest))
#42 /app/vendor/flarum/core/src/Http/Middleware/ExecuteRoute.php(27): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#43 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ExecuteRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#44 /app/vendor/fof/ban-ips/src/Middleware/RegisterMiddleware.php(94): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#45 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): FoF\BanIPs\Middleware\RegisterMiddleware->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#46 /app/vendor/fof/oauth/src/Middleware/ErrorHandler.php(50): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#47 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): FoF\OAuth\Middleware\ErrorHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#48 /app/vendor/flarum/core/src/Http/Middleware/ContentTypeOptionsHeader.php(21): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#49 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ContentTypeOptionsHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#50 /app/vendor/flarum/core/src/Http/Middleware/ReferrerPolicyHeader.php(30): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#51 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ReferrerPolicyHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#52 /app/vendor/flarum/core/src/Http/Middleware/FlarumPromotionHeader.php(30): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#53 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\FlarumPromotionHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#54 /app/vendor/flarum/core/src/Http/Middleware/ShareErrorsFromSession.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#55 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ShareErrorsFromSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#56 /app/vendor/flarum/core/src/Http/Middleware/CheckCsrfToken.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#57 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#58 /app/vendor/flarum/core/src/Http/Middleware/ResolveRoute.php(69): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#59 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ResolveRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#60 /app/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#61 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#62 /app/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(31): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#63 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#64 /app/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#65 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#66 /app/vendor/flarum/core/src/Http/Middleware/StartSession.php(61): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#67 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\StartSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#68 /app/vendor/flarum/core/src/Http/Middleware/CollectGarbage.php(46): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#69 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\CollectGarbage->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#70 /app/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(28): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#71 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ParseJsonBody->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#72 /app/vendor/flarum/core/src/Http/Middleware/HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#73 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#74 /app/vendor/flarum/core/src/Http/Middleware/InjectActorReference.php(25): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#75 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\InjectActorReference->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#76 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#77 /app/vendor/middlewares/request-handler/src/RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#78 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\RequestHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#79 /app/vendor/middlewares/base-path-router/src/BasePathRouter.php(101): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#80 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePathRouter->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#81 /app/vendor/laminas/laminas-stratigility/src/Middleware/OriginalMessages.php(36): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#82 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Laminas\Stratigility\Middleware\OriginalMessages->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#83 /app/vendor/middlewares/base-path/src/BasePath.php(73): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#84 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Middlewares\BasePath->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#85 /app/vendor/flarum/core/src/Http/Middleware/ProcessIp.php(24): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#86 /app/vendor/laminas/laminas-stratigility/src/Next.php(51): Flarum\Http\Middleware\ProcessIp->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#87 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(76): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#88 /app/vendor/laminas/laminas-stratigility/src/MiddlewarePipe.php(65): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#89 /app/vendor/laminas/laminas-httphandlerrunner/src/RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#90 /app/vendor/flarum/core/src/Http/Server.php(45): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#91 /app/public/index.php(26): Flarum\Http\Server->listen()
#92 {main}
2023/07/21 12:48:47 [error] 74360#74360: *1031 FastCGI sent in stderr: "PHP message: PHP Notice:  Undefined property: stdClass::$data in /app/storage/views/6f293f60bd3292d0ad2b1f4b9b43751da72e9c5a.php on line 7PHP message: PHP Warning:  Invalid argument supplied for foreach() in /app/storage/views/6f293f60bd3292d0ad2b1f4b9b43751da72e9c5a.php on line 7" while reading response header from upstream, client: 84.17.45.179, server: discuss.devlive.org, request: "GET / HTTP/1.1", upstream: "fastcgi://127.0.0.1:9000", host: "discuss.devlive.org"

image

clarkwinkelmann commented 1 year ago

We will require more information here.

Can you describe the steps that lead to the error? Is this a fresh installation of the extension? Is this a fresh installation of Flarum? Did it work at some point in the past?

Please share your php flarum info output so we can see the Flarum and PHP version as well as the list of extensions.

luceos commented 1 year ago

Seems Byobu now needs 8.0 with the use of a nullsafe operator.

qianmoQ commented 1 year ago

php flarum info

Flarum core: 1.7.1
PHP version: 7.3.33
MySQL version: 10.3.39-MariaDB
Loaded extensions: Core, date, libxml, openssl, pcre, zlib, filter, hash, pcntl, readline, Reflection, SPL, session, standard, bz2, calendar, ctype, curl, dom, mbstring, fileinfo, ftp, gd, gettext, iconv, intl, json, exif, mysqlnd, PDO, pgsql, Phar, posix, shmop, SimpleXML, sockets, sqlite3, sysvmsg, sysvsem, sysvshm, tokenizer, xml, xmlwriter, xsl, mcrypt, mysqli, pdo_mysql, pdo_pgsql, pdo_sqlite, wddx, xmlreader, zip, apcu, igbinary, memcache, msgpack, memcached, mongodb, redis, Zend OPcache
+--------------------------------------+---------+------------------------------------------+
| Flarum Extensions                    |         |                                          |
+--------------------------------------+---------+------------------------------------------+
| ID                                   | Version | Commit                                   |
+--------------------------------------+---------+------------------------------------------+
| flarum-flags                         | v1.7.0  |                                          |
| flarum-approval                      | v1.7.0  |                                          |
| flarum-suspend                       | v1.7.0  |                                          |
| flarum-subscriptions                 | v1.7.0  |                                          |
| flarum-tags                          | v1.7.1  |                                          |
| askvortsov-auto-moderator            | v0.1.2  |                                          |
| flarum-sticky                        | v1.7.0  |                                          |
| flarum-lock                          | v1.7.0  |                                          |
| afrux-forum-widgets-core             | v0.1.7  |                                          |
| fof-user-directory                   | 1.2.3   |                                          |
| fof-follow-tags                      | 1.1.7   |                                          |
| flarum-nicknames                     | v1.7.0  |                                          |
| ianm-level-ranks                     | 1.1.0   |                                          |
| flarum-markdown                      | v1.7.0  |                                          |
| flarum-likes                         | v1.7.0  |                                          |
| ziiven-daily-check-in                | v0.3.7  |                                          |
| zerosonesfun-composer-preview        | 1.2     |                                          |
| wanecho-showip                       | 0.0.5   | 972615167f1ca722e2fbe857dd1cc25051858908 |
| v17development-user-badges           | v1.1.0  |                                          |
| v17development-seo                   | v1.8.0  |                                          |
| v17development-blog                  | v0.7.2  |                                          |
| the-turk-stickiest                   | 3.0.1   |                                          |
| the-turk-diff                        | 1.1.1   |                                          |
| sycho-profile-cover                  | v1.3.5  |                                          |
| sycho-move-posts                     | v0.1.7  |                                          |
| nearata-tags-color-generator         | v2.2.0  |                                          |
| michaelbelgium-discussion-views      | v7.2.1  |                                          |
| justoverclock-username-blacklist     | 0.1.0   |                                          |
| justoverclock-simple-calendar-widget | 0.1.0   |                                          |
| justoverclock-hot-discussions-cards  | 0.1.6   |                                          |
| justoverclock-geo-weather            | 0.1.7   |                                          |
| justoverclock-feedback               | 0.1.9   |                                          |
| justoverclock-events-countdown       | 0.1.8   |                                          |
| ianm-synopsis                        | 1.3.0   |                                          |
| ianm-html-head                       | 1.1.0   |                                          |
| ianm-follow-users                    | 1.3.1   |                                          |
| ganuonglachanh-search                | 0.5.2   |                                          |
| fof-username-request                 | 1.1.2   |                                          |
| fof-user-bio                         | 1.2.0   |                                          |
| fof-upload                           | 1.2.3   |                                          |
| fof-subscribed                       | 1.1.3   |                                          |
| fof-spamblock                        | 1.1.0   |                                          |
| fof-socialprofile                    | 1.1.5   |                                          |
| fof-sitemap                          | 1.0.3   |                                          |
| fof-share-social                     | 1.1.2   |                                          |
| fof-reactions                        | 1.2.0   |                                          |
| fof-profile-image-crop               | 1.1.1   |                                          |
| fof-pretty-mail                      | 1.1.1   |                                          |
| fof-polls                            | 2.0.1   |                                          |
| fof-pages                            | 1.0.7   |                                          |
| fof-oauth                            | 1.4.1   |                                          |
| fof-nightmode                        | 1.5.2   |                                          |
| fof-moderator-notes                  | 1.2.0   |                                          |
| fof-links                            | 1.1.4   |                                          |
| fof-linguist                         | 1.1.1   |                                          |
| fof-ignore-users                     | 1.2.0   |                                          |
| fof-github-autolink                  | 1.0.0   |                                          |
| fof-geoip                            | 1.0.1   |                                          |
| fof-gamification                     | 1.6.2   |                                          |
| fof-formatting                       | 1.0.3   |                                          |
| fof-drafts                           | 1.2.2   |                                          |
| fof-doorman                          | 1.1.2   |                                          |
| fof-discussion-thumbnail             | 1.1.2   |                                          |
| fof-default-user-preferences         | 1.2.0   |                                          |
| fof-default-group                    | 1.1.1   |                                          |
| fof-cookie-consent                   | 1.1.1   |                                          |
| fof-best-answer                      | 1.3.1   |                                          |
| fof-bbcode-tabs                      | 1.0.3   |                                          |
| fof-bbcode-details                   | 1.1.1   |                                          |
| fof-ban-ips                          | 1.0.3   |                                          |
| flarum-statistics                    | v1.7.0  |                                          |
| flarum-mentions                      | v1.7.0  |                                          |
| flarum-lang-english                  | v1.7.0  |                                          |
| flarum-lang-chinese-simplified       | v1.3.0  |                                          |
| flarum-emoji                         | v1.7.0  |                                          |
| flarum-bbcode                        | v1.7.0  |                                          |
| ffans-clipboardjs                    | v1.0.0  |                                          |
| dem13n-discussion-cards              | 0.3.8   |                                          |
| datlechin-discussion-count           | v0.1.0  |                                          |
| darkle-fancybox                      | 1.1.2   |                                          |
| clarkwinkelmann-who-read             | 1.4.1   |                                          |
| clarkwinkelmann-post-bookmarks       | 1.0.0   |                                          |
| clarkwinkelmann-group-invitation     | 1.0.2   |                                          |
| clarkwinkelmann-circle-groups        | 1.0.1   |                                          |
| blomstra-usercard-stats              | 0.1.2   |                                          |
| askvortsov-moderator-warnings        | v0.6.1  |                                          |
| askvortsov-markdown-tables           | v1.2.1  |                                          |
| askvortsov-checklist                 | v1.3.1  |                                          |
| askvortsov-categories                | v3.0.9  |                                          |
| antoinefr-online                     | v1.0.1  |                                          |
| antoinefr-money                      | v1.3.1  |                                          |
| afrux-top-posters-widget             | v0.1.4  |                                          |
| afrux-news-widget                    | v0.1.1  |                                          |
| afrux-forum-stats-widget             | v0.1.1  |                                          |
+--------------------------------------+---------+------------------------------------------+
Base URL: https://discuss.devlive.org
Installation path: /app
Queue driver: sync
Session driver: file
Scheduler status: Active
Mail driver: mail
Debug mode: off
luceos commented 1 year ago
PHP version: 7.3.33

You need to upgrade to php 8. Byobu since 1.3.1 (I think) now requires PHP 8.0+