When I install, activate this extension and react or like a post this happens- Oops! Something went wrong. Please reload the page and try again.
When the extension is disabled likes work fine. Debug says this,
Illuminate\Contracts\Container\BindingResolutionException: Unresolvable dependency resolving [Parameter #0 [ <required> string or NULL $locale ]] in class Symfony\Component\Translation\Translator in P:\xampp\htdocs\new\vendor\illuminate\container\Container.php:993
Stack trace:
#0 P:\xampp\htdocs\new\vendor\illuminate\container\Container.php(931): Illuminate\Container\Container->unresolvablePrimitive(Object(ReflectionParameter))
#1 P:\xampp\htdocs\new\vendor\illuminate\container\Container.php(872): Illuminate\Container\Container->resolvePrimitive(Object(ReflectionParameter))
#2 P:\xampp\htdocs\new\vendor\illuminate\container\Container.php(834): Illuminate\Container\Container->resolveDependencies(Array)
#3 P:\xampp\htdocs\new\vendor\illuminate\container\Container.php(681): Illuminate\Container\Container->build('Symfony\\Compone...')
#4 P:\xampp\htdocs\new\vendor\illuminate\container\Container.php(629): Illuminate\Container\Container->resolve('Symfony\\Compone...', Array)
#5 P:\xampp\htdocs\new\vendor\illuminate\container\Container.php(945): Illuminate\Container\Container->make('Symfony\\Compone...')
#6 P:\xampp\htdocs\new\vendor\illuminate\container\Container.php(873): Illuminate\Container\Container->resolveClass(Object(ReflectionParameter))
#7 P:\xampp\htdocs\new\vendor\illuminate\container\Container.php(834): Illuminate\Container\Container->resolveDependencies(Array)
#8 P:\xampp\htdocs\new\vendor\illuminate\container\Container.php(681): Illuminate\Container\Container->build('FoF\\Reactions\\L...')
#9 P:\xampp\htdocs\new\vendor\illuminate\container\Container.php(629): Illuminate\Container\Container->resolve('FoF\\Reactions\\L...', Array)
#10 P:\xampp\htdocs\new\vendor\illuminate\events\Dispatcher.php(407): Illuminate\Container\Container->make('FoF\\Reactions\\L...')
#11 P:\xampp\htdocs\new\vendor\illuminate\events\Dispatcher.php(387): Illuminate\Events\Dispatcher->createClassCallable('FoF\\Reactions\\L...')
#12 P:\xampp\htdocs\new\vendor\illuminate\events\Dispatcher.php(218): Illuminate\Events\Dispatcher->Illuminate\Events\{closure}('Flarum\\Post\\Eve...', Array)
#13 P:\xampp\htdocs\new\vendor\flarum\core\src\Post\Command\EditPostHandler.php(79): Illuminate\Events\Dispatcher->dispatch('Flarum\\Post\\Eve...')
#14 P:\xampp\htdocs\new\vendor\illuminate\bus\Dispatcher.php(90): Flarum\Post\Command\EditPostHandler->handle(Object(Flarum\Post\Command\EditPost))
#15 P:\xampp\htdocs\new\vendor\illuminate\pipeline\Pipeline.php(130): Illuminate\Bus\Dispatcher->Illuminate\Bus\{closure}(Object(Flarum\Post\Command\EditPost))
#16 P:\xampp\htdocs\new\vendor\illuminate\pipeline\Pipeline.php(105): Illuminate\Pipeline\Pipeline->Illuminate\Pipeline\{closure}(Object(Flarum\Post\Command\EditPost))
#17 P:\xampp\htdocs\new\vendor\illuminate\bus\Dispatcher.php(98): Illuminate\Pipeline\Pipeline->then(Object(Closure))
#18 P:\xampp\htdocs\new\vendor\illuminate\bus\Dispatcher.php(76): Illuminate\Bus\Dispatcher->dispatchNow(Object(Flarum\Post\Command\EditPost))
#19 P:\xampp\htdocs\new\vendor\flarum\core\src\Api\Controller\UpdatePostController.php(57): Illuminate\Bus\Dispatcher->dispatch(Object(Flarum\Post\Command\EditPost))
#20 P:\xampp\htdocs\new\vendor\flarum\core\src\Api\Controller\AbstractSerializeController.php(96): Flarum\Api\Controller\UpdatePostController->data(Object(Laminas\Diactoros\ServerRequest), Object(Tobscure\JsonApi\Document))
#21 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\RouteHandlerFactory.php(38): Flarum\Api\Controller\AbstractSerializeController->handle(Object(Laminas\Diactoros\ServerRequest))
#22 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\Middleware\DispatchRoute.php(65): Flarum\Http\RouteHandlerFactory->Flarum\Http\{closure}(Object(Laminas\Diactoros\ServerRequest), Array)
#23 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Flarum\Http\Middleware\DispatchRoute->process(Object(Laminas\Diactoros\ServerRequest), Object(Closure))
#24 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\Middleware\SetLocale.php(50): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#25 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Flarum\Http\Middleware\SetLocale->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#26 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\Middleware\CheckCsrfToken.php(45): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#27 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Flarum\Http\Middleware\CheckCsrfToken->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#28 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\Middleware\AuthenticateWithHeader.php(55): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#29 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Flarum\Http\Middleware\AuthenticateWithHeader->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#30 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\Middleware\AuthenticateWithSession.php(32): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#31 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Flarum\Http\Middleware\AuthenticateWithSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#32 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\Middleware\RememberFromCookie.php(51): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#33 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Flarum\Http\Middleware\RememberFromCookie->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#34 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\Middleware\StartSession.php(61): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#35 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Flarum\Http\Middleware\StartSession->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#36 P:\xampp\htdocs\new\vendor\flarum\core\src\Api\Middleware\FakeHttpMethods.php(29): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#37 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Flarum\Api\Middleware\FakeHttpMethods->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#38 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\Middleware\ParseJsonBody.php(28): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#39 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Flarum\Http\Middleware\ParseJsonBody->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#40 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\Middleware\HandleErrors.php(57): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#41 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Flarum\Http\Middleware\HandleErrors->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#42 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\MiddlewarePipe.php(84): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#43 P:\xampp\htdocs\new\vendor\middlewares\request-handler\src\RequestHandler.php(84): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#44 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Middlewares\RequestHandler->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#45 P:\xampp\htdocs\new\vendor\middlewares\base-path-router\src\BasePathRouter.php(97): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#46 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Middlewares\BasePathRouter->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#47 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Middleware\OriginalMessages.php(42): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#48 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Laminas\Stratigility\Middleware\OriginalMessages->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#49 P:\xampp\htdocs\new\vendor\middlewares\base-path\src\BasePath.php(53): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#50 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\Next.php(61): Middlewares\BasePath->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\Next))
#51 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\MiddlewarePipe.php(84): Laminas\Stratigility\Next->handle(Object(Laminas\Diactoros\ServerRequest))
#52 P:\xampp\htdocs\new\vendor\laminas\laminas-stratigility\src\MiddlewarePipe.php(73): Laminas\Stratigility\MiddlewarePipe->process(Object(Laminas\Diactoros\ServerRequest), Object(Laminas\Stratigility\EmptyPipelineHandler))
#53 P:\xampp\htdocs\new\vendor\laminas\laminas-httphandlerrunner\src\RequestHandlerRunner.php(96): Laminas\Stratigility\MiddlewarePipe->handle(Object(Laminas\Diactoros\ServerRequest))
#54 P:\xampp\htdocs\new\vendor\flarum\core\src\Http\Server.php(42): Laminas\HttpHandlerRunner\RequestHandlerRunner->run()
#55 P:\xampp\htdocs\new\public\index.php(26): Flarum\Http\Server->listen()
#56 {main}
php flarum info output