Fatal error: Uncaught Error: Cannot use object of type stdClass as array in /var/www/vhosts/pvgis.com/pvgis.com/src/Services/TranslationService.php:272 Stack trace: #0 /var/www/vhosts/pvgis.com/pvgis.com/src/Middlewares/TranslationRoutingMiddleware.php(55): App\Services\TranslationService->up() #1 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Middlewares\TranslationRoutingMiddleware->__invoke() #2 /var/www/vhosts/pvgis.com/pvgis.com/src/Middlewares/GlobalVariableMiddleware.php(140): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #3 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Middlewares\GlobalVariableMiddleware->__invoke() #4 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #5 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Slim\MiddlewareDispatcher->handle() #6 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/Routing/Route.php(315): Slim\MiddlewareDispatcher->handle() #7 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/Routing/RouteRunner.php(68): Slim\Routing\Route->run() #8 /var/www/vhosts/pvgis.com/pvgis.com/src/Middlewares/ErrorMiddleware.php(38): Slim\Routing\RouteRunner->handle() #9 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/MiddlewareDispatcher.php(168): App\Middlewares\ErrorMiddleware->__invoke() #10 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/Middleware/RoutingMiddleware.php(45): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #11 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/MiddlewareDispatcher.php(121): Slim\Middleware\RoutingMiddleware->process() #12 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/MiddlewareDispatcher.php(65): Psr\Http\Server\RequestHandlerInterface@anonymous->handle() #13 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/App.php(199): Slim\MiddlewareDispatcher->handle() #14 /var/www/vhosts/pvgis.com/pvgis.com/vendor/slim/slim/Slim/App.php(183): Slim\App->handle() #15 /var/www/vhosts/pvgis.com/pvgis.com/index.php(337): Slim\App->run() #16 {main} thrown in /var/www/vhosts/pvgis.com/pvgis.com/src/Services/TranslationService.php on line 272