Warning: preg_replace(): Unknown modifier '/' in /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Filter/YoutubeVideoFilter.php on line 59

Warning: preg_replace(): Unknown modifier '/' in /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Filter/YoutubeVideoFilter.php on line 59

Warning: preg_replace(): Unknown modifier '/' in /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Filter/YoutubeVideoFilter.php on line 59

Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Return value of Quebecor\CubeFrontendBundle\Filter\YoutubeVideoFilter::replaceTagByObject() must be of the type string, null returned in /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Filter/YoutubeVideoFilter.php:63 Stack trace: #0 /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Filter/AbstractContentFilter.php(34): Quebecor\CubeFrontendBundle\Filter\YoutubeVideoFilter->replaceTagByObject(Array, Array) #1 /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Manager/FilterManager.php(32): Quebecor\CubeFrontendBundle\Filter\AbstractContentFilter->filter(Array) #2 /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Controller/ArticleController.php(75): Quebecor\CubeFrontendBundle\Manager\FilterManager->apply(Array) #3 [internal function]: Quebecor\CubeFrontendBundle\Controller\ArticleController->showAction('the-most-nostal...', Object(Symfony\Component\HttpFoundation\Request)) #4 /var/www/html/vendor/symfony/symfony/ in /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Filter/YoutubeVideoFilter.php on line 63

Fatal error: Uncaught Symfony\Component\Debug\Exception\FatalErrorException: Error: Uncaught Symfony\Component\Debug\Exception\FatalThrowableError: Type error: Return value of Quebecor\CubeFrontendBundle\Filter\YoutubeVideoFilter::replaceTagByObject() must be of the type string, null returned in /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Filter/YoutubeVideoFilter.php:63 Stack trace: #0 /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Filter/AbstractContentFilter.php(34): Quebecor\CubeFrontendBundle\Filter\YoutubeVideoFilter->replaceTagByObject(Array, Array) #1 /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Manager/FilterManager.php(32): Quebecor\CubeFrontendBundle\Filter\AbstractContentFilter->filter(Array) #2 /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Controller/ArticleController.php(75): Quebecor\CubeFrontendBundle\Manager\FilterManager->apply(Array) #3 [internal function]: Quebecor\CubeFrontendBundle\Controller\ArticleController->showAction('the-most-nostal...', Object(Symfony\Comp in /var/www/html/vendor/quebecor/cube-frontend-bundle/src/Filter/YoutubeVideoFilter.php on line 63