Fatal error: Uncaught TypeError: Argument 1 passed to App\Aggregates\Entities\Site::setTemplateId() must be of the type integer, null given, called in /var/www/html/app/Aggregates/Factories/SiteFactory.php on line 28 and defined in /var/www/html/app/Aggregates/Entities/Site.php:235 Stack trace: #0 /var/www/html/app/Aggregates/Factories/SiteFactory.php(28): App\Aggregates\Entities\Site->setTemplateId(NULL) #1 /var/www/html/app/Services/SiteInitializer/Gateways/AccountsGateway.php(115): App\Aggregates\Factories\SiteFactory::createFromPDObject(Object(stdClass)) #2 /var/www/html/app/Services/SiteInitializer/Gateways/AccountsGateway.php(50): App\Services\SiteInitializer\Gateways\AccountsGateway->createSite(Object(stdClass), Array, Array) #3 /var/www/html/app/Services/SiteInitializer/SiteInitializer.php(117): App\Services\SiteInitializer\Gateways\AccountsGateway->fetchSite(Object(App\Aggregates\ValueObjects\SiteName)) #4 /var/www/html/vendor/symfony/cache/LockRegistry.php(99): App\Services\SiteInitializer\SiteInitializer->App\S in /var/www/html/app/Aggregates/Entities/Site.php on line 235