Warning: Invalid argument supplied for foreach() in /wp-content/themes/bss/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/bss/source/KonceptLab/Repository/LocationsRepository.php on line 180 and defined in /wp-content/themes/bss/source/KonceptLab/Factory/WeekSchedulesCollectionFactory.php:67 Stack trace: #0 /wp-content/themes/bss/source/KonceptLab/Repository/LocationsRepository.php(180): KonceptLab\Factory\WeekSchedulesCollectionFactory::createWeekSchedules(NULL) #1 /wp-content/themes/bss/page-sign-up-regular.php(14): KonceptLab\Repository\LocationsRepository->getLocationById('593', '4004') #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/bss/source/KonceptLab/Factory/WeekSchedulesCollectionFactory.php on line 67