Fatal error: Uncaught TypeError: Argument 1 passed to SiteModelo\Model\Cadastro::__construct() must be of the type array, null given, called in /home/www-data/module/SiteModelo/src/Model/CadastroFactory.php on line 35 and defined in /home/www-data/module/SiteModelo/src/Model/Cadastro.php:74 Stack trace: #0 /home/www-data/module/SiteModelo/src/Model/CadastroFactory.php(35): SiteModelo\Model\Cadastro->__construct(NULL, Array) #1 /home/www-data/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(764): SiteModelo\Model\CadastroFactory->__invoke(Object(Zend\ServiceManager\ServiceManager), 'SiteModelo\\Mode...', NULL) #2 /home/www-data/vendor/zendframework/zend-servicemanager/src/ServiceManager.php(200): Zend\ServiceManager\ServiceManager->doCreate('SiteModelo\\Mode...') #3 /home/www-data/module/SiteModelo/src/Model/SiteDefinition.php(29): Zend\ServiceManager\ServiceManager->get('SiteModelo\\Mode...') #4 /home/www-data/module/SiteModelo/view/layout/layout.phtml(7): SiteModelo\Model\SiteDefinition->__call('SiteModelo in /home/www-data/module/SiteModelo/src/Model/Cadastro.php on line 74