Notice: Undefined index: locale in /home/vhosts/sitepack.io/src/Sites/Repository/SitesRepository.php on line 416

Fatal error: Uncaught TypeError: Argument 1 passed to SitePack\Sites\Entities\SiteEntity::setLocale() must be of the type string, null given, called in /home/vhosts/sitepack.io/src/Sites/Repository/SitesRepository.php on line 416 and defined in /home/vhosts/sitepack.io/src/Sites/Entities/SiteEntity.php:246 Stack trace: #0 /home/vhosts/sitepack.io/src/Sites/Repository/SitesRepository.php(416): SitePack\Sites\Entities\SiteEntity->setLocale(NULL) #1 /home/vhosts/sitepack.io/vendor/internetpixels/repository-manager/src/Repositories/AbstractRepository.php(135): SitePack\Sites\Repository\SitesRepository->dataToEntity(Array) #2 /home/vhosts/sitepack.io/src/Sites/Repository/SitesRepository.php(140): InternetPixels\RepositoryManager\Repositories\AbstractRepository->executeQueryForSingleResult('SELECT * FROM s...') #3 /home/vhosts/sitepack.io/src/Sites/Service/SitesService.php(189): SitePack\Sites\Repository\SitesRepository->readTmp('52.87.253.202', 'fc53472af0f44e9...') #4 /home/vhosts/sitepack.io/src/Controllers/Admin/InstallCont in /home/vhosts/sitepack.io/src/Sites/Entities/SiteEntity.php on line 246