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

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 451 and defined in /home/vhosts/sitepack.io/src/Sites/Entities/SiteEntity.php:261 Stack trace: #0 /home/vhosts/sitepack.io/src/Sites/Repository/SitesRepository.php(451): 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(141): InternetPixels\RepositoryManager\Repositories\AbstractRepository->executeQueryForSingleResult('SELECT * FROM s...') #3 /home/vhosts/sitepack.io/src/Sites/Service/SitesService.php(190): SitePack\Sites\Repository\SitesRepository->readTmp('34.207.152.62', '27d08ad299e68d2...') #4 /home/vhosts/sitepack.io/src/Controllers/Admin/InstallCont in /home/vhosts/sitepack.io/src/Sites/Entities/SiteEntity.php on line 261