title: html dom doesnt give results while they are there
body: <p>I am trying to get title of the webpage, see the code below..</p>
  
  <pre><code>include("simple_html_dom.php");
  $url = "http://fzmoviez.in/video/list/4059539";
  
  $base = $url;
  
  $curl = curl_init();
  curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
  curl_setopt($curl, CURLOPT_HEADER, false);
  curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
  curl_setopt($curl, CURLOPT_URL, $base);
  curl_setopt($curl, CURLOPT_REFERER, $base);
  curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
  $str = curl_exec($curl);
  curl_close($curl);
  
  // Create a DOM object
  $html_base = new simple_html_dom();
  // Load HTML from a string
  $html_base-&gt;load($str);
  $title = $html_base-&gt;getElementsByTagName("title")-&gt;innertext; //line 21
  echo $title;
  </code></pre>
  
  <p>I am getting error:</p>
  
  <pre><code>Notice: Trying to get property of non-object in C:\xampp\htdocs\... on line 21
  </code></pre>
  
  <p>but when I <code>var_dump($html_base)</code> I get</p>
  
  <pre><code>object(simple_html_dom)#1 (23) { ["root"]=&gt; object(simple...
      ... card" ["attr"]=&gt; array(2) { ["id"]=&gt; string(5) "index" ["title"]=&gt; string(179) "FzMoviez.iN - Free Download Latest Bollywood Movies,Hindi Dudded Movies,Hollywood Movies,Live Movies,WWE Shows,Mp4,HD Mp4,High Quality Mp4,Avi,Iphone,Android,Tablets And Many More" } ["children"]=&gt; array(25) { [0]=&gt; object(simple_html_dom_node)#55 (9) { ["nodetype"]=&gt;......
  </code></pre>
  
  <p>meaning, <strong><em>it is an object</em></strong>, <strong><em>and title is there</em></strong>, why giving error</p>
  
  <pre><code>Notice: Trying to get property of non-object in C:\xampp\htdocs\.. on line 21
  </code></pre>