[TypeError] Return value of Realweb\Api\Module\Cars\Model\Element\Entity::getSection() must be an instance of Realweb\Api\Module\Cars\Model\Section\Entity, null returned (0) /var/www/petrovskiy/last_release/local/modules/realweb.api.module/lib/Cars/Model/Element/Entity.php:74 #0: Realweb\Api\Module\Cars\Model\Element\Entity->getSection /var/www/petrovskiy/last_release/local/modules/realweb.api.module/lib/Cars/Controller/Element/EntityController.php:88 #1: Realweb\Api\Module\Cars\Controller\Element\EntityController->_getList /var/www/petrovskiy/last_release/local/modules/realweb.api.module/lib/Cars/Controller/Element/EntityController.php:52 #2: Realweb\Api\Module\Cars\Controller\Element\EntityController->Realweb\Api\Module\Cars\Controller\Element\{closure} #3: call_user_func /var/www/petrovskiy/last_release/local/modules/realweb.api/lib/Model/Main/Cache.php:344 #4: Realweb\Api\Model\Main\Cache->get /var/www/petrovskiy/last_release/local/modules/realweb.api.module/lib/Cars/Controller/Element/EntityController.php:53 #5: Realweb\Api\Module\Cars\Controller\Element\EntityController->get /var/www/petrovskiy/last_release/local/modules/realweb.api.module/lib/Cars/Controller/Element/EntityController.php:104 #6: Realweb\Api\Module\Cars\Controller\Element\EntityController->getEntity /var/www/petrovskiy/last_release/local/templates/.default/components/realweb/blank.route/cars/element.php:15 #7: include(string) /var/www/petrovskiy/bitrix/modules/main/classes/general/component_template.php:725 #8: CBitrixComponentTemplate->__IncludePHPTemplate /var/www/petrovskiy/bitrix/modules/main/classes/general/component_template.php:820 #9: CBitrixComponentTemplate->IncludeTemplate /var/www/petrovskiy/bitrix/modules/main/classes/general/component.php:745 #10: CBitrixComponent->showComponentTemplate /var/www/petrovskiy/bitrix/modules/main/classes/general/component.php:693 #11: CBitrixComponent->includeComponentTemplate /var/www/petrovskiy/last_release/local/components/realweb/blank.route/component.php:106 #12: include(string) /var/www/petrovskiy/bitrix/modules/main/classes/general/component.php:604 #13: CBitrixComponent->__includeComponent /var/www/petrovskiy/bitrix/modules/main/classes/general/component.php:663 #14: CBitrixComponent->includeComponent /var/www/petrovskiy/bitrix/modules/main/classes/general/main.php:1039 #15: CAllMain->IncludeComponent /var/www/petrovskiy/last_release/cars/index.php:21 #16: include_once(string) /var/www/petrovskiy/bitrix/modules/main/include/urlrewrite.php:159 #17: include_once(string) /var/www/petrovskiy/bitrix/urlrewrite.php:2