سلام دوستان؛ خسته نباشید
میخواستم از یه سایتی یه سری اطلاعات رو استخراج کنم که از این پکیج استفاده کردم
https://symfony.com/doc/2.1/components/dom_crawler.html
روی لوکال به خوبی و بدون مشکل جواب میده و روی هاست این خطا رو میده، مشکل از چی میتونه باشه؟ اینم خطاش
Return value of Symfony\Component\DomCrawler\Crawler::createSubCrawler() must be an instance of Symfony\Component\DomCrawler\object, instance of Symfony\Component\DomCrawler\Crawler returned
اینم کدم
$crawler = new Crawler( file_get_contents( 'https://www.example.ir/' ) );
Technical Requirements¶
Before creating your first Symfony application you must:
Install PHP 7.2.5 or higher and these PHP extensions (which are installed and enabled by default in most PHP 7 installations): Ctype, iconv, JSON, PCRE, Session, SimpleXML, and Tokenizer;
Install Composer, which is used to install PHP packages;
Install Symfony, which creates in your computer a binary called symfony that provides all the tools you need to develop your application locally.
ورژن هاستتون رو چک کنید بالای 7.2 باشه، تو مستنداتش بخونید نوشته
Technical Requirements¶
Before creating your first Symfony application you must:
Install PHP 7.2.5 or higher and these PHP extensions (which are installed and enabled by default in most PHP 7 installations): Ctype, iconv, JSON, PCRE, Session, SimpleXML, and Tokenizer;
Install Composer, which is used to install PHP packages;
Install Symfony, which creates in your computer a binary called symfony that provides all the tools you need to develop your application locally.
ورژن هاستتون رو چک کنید بالای 7.2 باشه، تو مستنداتش بخونید نوشته
آیا مایل به ارسال نوتیفیکیشن و اخبار از طرف راکت هستید ؟