Warning: Invalid argument supplied for foreach() in /wp-content/themes/socatots/source/KonceptLab/Factory/AgeGroupCollectionFactory.php on line 31

Fatal error: Uncaught TypeError: Argument 1 passed to KonceptLab\Factory\WeekSchedulesCollectionFactory::createWeekSchedules() must be an instance of stdClass, null given, called in /wp-content/themes/socatots/source/KonceptLab/Repository/LocationsRepository.php on line 177 and defined in /wp-content/themes/socatots/source/KonceptLab/Factory/WeekSchedulesCollectionFactory.php:67 Stack trace: #0 /wp-content/themes/socatots/source/KonceptLab/Repository/LocationsRepository.php(177): KonceptLab\Factory\WeekSchedulesCollectionFactory::createWeekSchedules(NULL) #1 /wp-content/themes/socatots/page-contact-us.php(15): KonceptLab\Repository\LocationsRepository->getLocationById(NULL, NULL) #2 /wp-includes/template-loader.php(74): include('/wp-content/the...') #3 /wp-blog-header.php(19): require_once('/wp-includes/te...') #4 /index.php(17): require('/wp-blog-header...') #5 {main} thrown in /wp-content/themes/socatots/source/KonceptLab/Factory/WeekSchedulesCollectionFactory.php on line 67