Notice: Undefined variable: zipCodes in /app/src/APC/CoachCopro/CoreBundle/Manager/CoproManager.php on line 184

Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Return value of APC\CoachCopro\CoreBundle\Manager\CoproManager::getZipCodes() must be of the type array, null returned in /app/src/APC/CoachCopro/CoreBundle/Manager/CoproManager.php:184 Stack trace: #0 /app/src/APC/CoachCopro/UserBundle/Form/Type/ChooseCoproAddressType.php(47): APC\CoachCopro\CoreBundle\Manager\CoproManager->getZipCodes(Object(APC\CoachCopro\CoreBundle\Entity\Site)) #1 /app/src/APC/CoachCopro/UserBundle/Form/Type/ChooseCoproAddressType.php(79): APC\CoachCopro\UserBundle\Form\Type\ChooseCoproAddressType->getZipCodes() #2 /app/vendor/symfony/symfony/src/Symfony/Component/Form/ResolvedFormType.php(187): APC\CoachCopro\UserBundle\Form\Type\ChooseCoproAddressType->buildForm(Object(Symfony\Component\Form\FormBuilder), Array) #3 /app/vendor/symfony/symfony/src/Symfony/Component/Form/FormFactory.php(111): Symfony\Component\Form\ResolvedFormType->buildForm(Object(Symfony\Component\Form\FormBuilder), Array) #4 /app/vendor/symfo in /app/src/APC/CoachCopro/CoreBundle/Manager/CoproManager.php on line 184