ошибка - Call to a member function find() on a non-object

смотрим сюда = http://stackoverflow.com/questions/61906...

организовать проверку данной неприятности - дабы не нарваться можно так:

$html = file_get_html('http://url.to/filename.html');
	// first check if $html->find exists
	if (method_exists($html,"find")) { //ПРОВЕРЯМ что метод определён
	     // then check if the html element exists to avoid trying to parse non-html
	     if ($html->find('html')) {
	          // and only then start searching (and manipulating) the dom
	     }
	}

подсмотрел здесь = http://blog.futtta.be/2012/05/31/simple-...