Call to a member function find() on a non-object simple html dom in laravel 5.2

442 Views Asked by At

I am working on HTML DOM in laravel 5.2.

$html = new Htmldom($home_url);

When i print $html object it display crawl results but when i use $html->find('div') then it gives an error "Call to a member function find() on a non-object"

0

There are 0 best solutions below