*REPOSITÓRIO: https://github.com/Gabriel99979/Buscador-de-cursos-com-Composer *
A princípio colei o código igual ao do curso mas estou tendo erro de chamada call-stack
PHP Fatal error: Uncaught LogicException: To filter with a CSS selector, install the CssSelector component ("composer require symfony/css-selector"). Or use filterXpath instead. in C:\Users\Gabriel\Desktop\PHP\Curso Alura Composer\vendor\symfony\dom-crawler\Crawler.php:1158 Stack trace:
#0 C:\Users\Gabriel\Desktop\PHP\Curso Alura Composer\vendor\symfony\dom-crawler\Crawler.php(705): Symfony\Component\DomCrawler\Crawler->createCssSelectorConverter()
#1 C:\Users\Gabriel\Desktop\PHP\Curso Alura Composer\buscar-cursos.php(16): Symfony\Component\DomCrawler\Crawler->filter('span.card-curso...')
#2 {main} thrown in C:\Users\Gabriel\Desktop\PHP\Curso Alura Composer\vendor\symfony\dom-crawler\Crawler.php on line 1158
Fatal error: Uncaught LogicException: To filter with a CSS selector, install the CssSelector component ("composer require symfony/css-selector"). Or use filterXpath instead. in C:\Users\Gabriel\Desktop\PHP\Curso Alura Composer\vendor\symfony\dom-crawler\Crawler.php on line 1158
LogicException: To filter with a CSS selector, install the CssSelector component ("composer require symfony/css-selector"). Or use filterXpath instead. in C:\Users\Gabriel\Desktop\PHP\Curso Alura Composer\vendor\symfony\dom-crawler\Crawler.php on line 1158
Call Stack: 0.0003 403824 1. {main}() C:\Users\Gabriel\Desktop\PHP\Curso Alura Composer\buscar-cursos.php:0 0.6893 2592112 2. Symfony\Component\DomCrawler\Crawler->filter($selector = 'span.card-curso__nome') C:\Users\Gabriel\Desktop\PHP\Curso Alura Composer\buscar-cursos.php:16 0.6893 2592112 3. Symfony\Component\DomCrawler\Crawler->createCssSelectorConverter() C:\Users\Gabriel\Desktop\PHP\Curso Alura Composer\vendor\symfony\dom-crawler\Crawler.php:705