Fatal error: Call to a member function xpath() …solution found
-
Hi Stephanie,
I needed to add these two lines into html-importer.php at line 372 when I got the error message, ” Fatal error: Call to a member function xpath() on a non-object in …/plugins/import-html-pages/html-importer.php on line 408″ which marked the premature end of my import.
After
$xml = @simplexml_import_dom( $doc );
insert these lines:if($xml===null) return;
I don’t know what file triggered a
null
here because there were 700 some files in my import and I really don’t care.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Fatal error: Call to a member function xpath() …solution found’ is closed to new replies.