Fatal error: Uncaught TypeError: str_replace(): Argument #3 ($subject) must be of type array|string, null given in /var/www/html/vendor/doctrine/orm/src/Query/Expr.php:635
Stack trace:
#0 /var/www/html/vendor/doctrine/orm/src/Query/Expr.php(635): str_replace(''', '''', NULL)
#1 /var/www/html/vendor/doctrine/orm/src/Query/Expr.php(457): Doctrine\ORM\Query\Expr->quoteLiteral(NULL)
#2 /var/www/html/src/OfficeBrain/Bundle/ProductTagBundle/Entity/PrivateTagMasterRepository.php(272): Doctrine\ORM\Query\Expr->in('ptm.id', Array)
#3 /var/www/html/src/OfficeBrain/Bundle/ProductTagBundle/Manager/AbstractManager/ProductTagAbstract.php(388): App\OfficeBrain\Bundle\ProductTagBundle\Entity\PrivateTagMasterRepository->getProductTagDetails(Array)
#4 /var/www/html/src/project/OfficeBrain/CustomBundle/SearchBundle/Controller/BrowseCategoryController.php(134): App\OfficeBrain\Bundle\ProductTagBundle\Manager\AbstractManager\ProductTagAbstract->getProductTagList(Array)
#5 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(181): App\project\OfficeBrain\CustomBundle\SearchBundle\Controller\BrowseCategoryController->browseSubCategoryAction(Object(Symfony\Component\HttpFoundation\Request))
#6 /var/www/html/vendor/symfony/http-kernel/HttpKernel.php(76): Symfony\Component\HttpKernel\HttpKernel->handleRaw(Object(Symfony\Component\HttpFoundation\Request), 1)
#7 /var/www/html/vendor/symfony/http-kernel/Kernel.php(197): Symfony\Component\HttpKernel\HttpKernel->handle(Object(Symfony\Component\HttpFoundation\Request), 1, true)
#8 /var/www/html/public/index.php(25): Symfony\Component\HttpKernel\Kernel->handle(Object(Symfony\Component\HttpFoundation\Request))
#9 {main}
thrown in /var/www/html/vendor/doctrine/orm/src/Query/Expr.php on line 635