Fatal error: Cannot use object of type Zend\View\Model\ViewModel as array in /var/www/html/pn2/module/Index/src/Index/Controller/IndexController.php on line 227