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

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 672 and defined in /usr/home/vhosts/sitepack.io/src/Sites/Entities/SiteEntity.php:331 Stack trace: #0 /usr/home/vhosts/sitepack.io/src/Sites/Repository/SitesRepository.php(672): 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(226): InternetPixels\RepositoryManager\Repositories\AbstractRepository->executeQueryForSingleResult('SELECT * FROM s...') #3 /usr/home/vhosts/sitepack.io/src/Sites/Service/SitesService.php(331): SitePack\Sites\Repository\SitesRepository->readTmp('10.70.10.9', 'e1a8ff0e83429a2...') #4 /usr/home/vhosts/sitepack.io/src/Cont in /usr/home/vhosts/sitepack.io/src/Sites/Entities/SiteEntity.php on line 331