I have a simple array with urls and a foreach loop.
Every round call a function with a new Dom and the end of the function I use clear() and unset().
In the first round run succesfully, works fine.
But in the second round the first find() die with the following error:
Fatal error: Call to a member function find() on a non-object in simple_html_dom.php on line 880