Call to a member function on a non-object
<p>Have a cycle, it often works function Clear. But sometimes I get an error </p>

<pre><code>Call to a member function on a non-object 
</code></pre>

<p>I do not care because of what is happening to me important that the cycle is not interrupted to do this?</p>

<pre><code>$html-&gt;clear();
</code></pre>
