You should provide more details, e.g. the error message.
This line is not valid:
Within class methods non-static properties may be accessed by using ->
(Object Operator):
return $this->view->render($response, 'page_dashboard.html');
https://www.php.net/manual/en/language.oop5.properties.php
You can use PhpStorm, a linter and phpstan to check your code.