Hi, my flarum was not work ,when i install this filter~
The install output like this:
Warning: This development build of composer is over 60 days old. It is recommended to update it by running "/usr/bin/composer self-update" to get the latest version.
Using version 1.2 for issyrocks12/flarum-ext-filter
./composer.json has been updated
Loading composer repositories with package information
Updating dependencies (including require-dev)
Package operations: 3 installs, 0 updates, 0 removals
- Installing flarum/flarum-ext-flags (v0.1.0-beta.8.1): Loading from cache
- Installing flarum/flarum-ext-approval (v0.1.0-beta.8): Loading from cache
- Installing issyrocks12/flarum-ext-filter (1.2.2): Loading from cache
Package flarum/flarum-ext-flags is abandoned, you should avoid using it. Use flarum/flags instead.
Package flarum/flarum-ext-approval is abandoned, you should avoid using it. Use flarum/approval instead.
Writing lock file
Generating autoload files
The Browser show me this:
Error booting Flarum: Class Flarum\Core\Repository\PostRepository does not exist
And the flarum logs like this:
[2019-05-11 03:05:22] production.ERROR: Flarum\User\Exception\PermissionDeniedException in /www/wwwroot/flarum/vendor/flarum/core/src/User/AssertPermissionTrait.php:25
Stack trace:
#0 /www/wwwroot/flarum/vendor/flarum/core/src/User/AssertPermissionTrait.php(37): Flarum\Admin\Middleware\RequireAdministrateAbility->assertPermission(false)
#1 /www/wwwroot/flarum/vendor/flarum/core/src/User/AssertPermissionTrait.php(64): Flarum\Admin\Middleware\RequireAdministrateAbility->assertCan(Object(Flarum\User\Guest), 'administrate')
#2 /www/wwwroot/flarum/vendor/flarum/core/src/Admin/Middleware/RequireAdministrateAbility.php(26): Flarum\Admin\Middleware\RequireAdministrateAbility->assertAdmin(Object(Flarum\User\Guest))
#3 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Admin\Middleware\RequireAdministrateAbility->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#4 /www/wwwroot/flarum/vendor/flarum/core/src/Http/Middleware/SetLocale.php(51): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#5 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\SetLocale->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#6 /www/wwwroot/flarum/vendor/flarum/core/src/Http/Middleware/AuthenticateWithSession.php(34): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#7 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#8 /www/wwwroot/flarum/vendor/flarum/core/src/Http/Middleware/RememberFromCookie.php(52): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#9 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\RememberFromCookie->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#10 /www/wwwroot/flarum/vendor/flarum/core/src/Http/Middleware/StartSession.php(62): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#11 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\StartSession->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#12 /www/wwwroot/flarum/vendor/flarum/core/src/Http/Middleware/ParseJsonBody.php(29): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#13 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\ParseJsonBody->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#14 /www/wwwroot/flarum/vendor/flarum/core/src/Http/Middleware/HandleErrorsWithView.php(67): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#15 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/Next.php(52): Flarum\Http\Middleware\HandleErrorsWithView->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#16 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(83): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#17 /www/wwwroot/flarum/vendor/middlewares/request-handler/src/RequestHandler.php(84): Zend\Stratigility\MiddlewarePipe->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#18 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/Next.php(52): Middlewares\RequestHandler->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#19 /www/wwwroot/flarum/vendor/middlewares/base-path-router/src/BasePathRouter.php(97): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#20 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/Next.php(52): Middlewares\BasePathRouter->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#21 /www/wwwroot/flarum/vendor/middlewares/base-path/src/BasePath.php(53): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#22 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/Next.php(52): Middlewares\BasePath->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\Next))
#23 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(83): Zend\Stratigility\Next->handle(Object(Zend\Diactoros\ServerRequest))
#24 /www/wwwroot/flarum/vendor/zendframework/zend-stratigility/src/MiddlewarePipe.php(72): Zend\Stratigility\MiddlewarePipe->process(Object(Zend\Diactoros\ServerRequest), Object(Zend\Stratigility\EmptyPipelineHandler))
#25 /www/wwwroot/flarum/vendor/zendframework/zend-httphandlerrunner/src/RequestHandlerRunner.php(95): Zend\Stratigility\MiddlewarePipe->handle(Object(Zend\Diactoros\ServerRequest))
#26 /www/wwwroot/flarum/vendor/flarum/core/src/Http/Server.php(46): Zend\HttpHandlerRunner\RequestHandlerRunner->run()
#27 /www/wwwroot/flarum/public/index.php(22): Flarum\Http\Server->listen()
#28 {main}