Fatal error: Call to a member function xpath() on a non-object

Here was a request for that problem https://github.com/jkrug/TOXID-cURL/pull/7