title: Uncaught Error: Call to a member function find() on boolean
body: <p>I keep getting this error when trying to capture an element from the DOM.  </p>
  
  <pre><code>$html=file_get_html("some url here");
  echo $html;
  $ret = $html-&gt;find('a'); 
  echo $ret;
  </code></pre>
  
  <p>I can see that the actual page is displaying from the url in <code>file_get_html</code> when I just print <code>$html</code> but the error occurs with the <code>find()</code>, no matter what element is searched for. From other solutions I have read, they state to increase the <code>MAX_FILE_SIZE</code> in the simple_html_dom.php and/or remove the <code>strlen($str) &gt; MAX_FILE_SIZE</code> from the <code>function str_get_html</code> within that file. Neither of these options have worked. </p>
  
  <p>Any help would be appreciated.</p>