Fatal error: Uncaught TypeError: Return value of TMCms\Modules\Catalogue\Entity\CategoryEntityRepository::getTotalProductCountByCategoryIdCached() must be of the type integer, boolean returned in /var/www/B2B/project/modules/catalogue/Entity/CategoryEntityRepository.php:268 Stack trace: #0 /var/www/B2B/project/modules/catalogue/Entity/CategoryEntityRepository.php(185): TMCms\Modules\Catalogue\Entity\CategoryEntityRepository->getTotalProductCountByCategoryIdCached(347, Array) #1 /var/www/B2B/project/modules/catalogue/Entity/CategoryEntityRepository.php(182): TMCms\Modules\Catalogue\Entity\CategoryEntityRepository::recCategoryTree(Array, Array, Array) #2 /var/www/B2B/project/modules/catalogue/Entity/CategoryEntityRepository.php(182): TMCms\Modules\Catalogue\Entity\CategoryEntityRepository::recCategoryTree(Array, Array, Array) #3 /var/www/B2B/project/modules/catalogue/Entity/CategoryEntityRepository.php(182): TMCms\Modules\Catalogue\Entity\CategoryEntityRepository::recCategoryTree(Array, Array, Array) #4 /var/www/B2B/project in /var/www/B2B/project/modules/catalogue/Entity/CategoryEntityRepository.php on line 268