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

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