[Resolved] Import Fatal Error
When importing an XML file from another sites Code Snippets export, I get the following Error:
PHP Fatal error: Call to a member function children() on a non-object in /home/usernm/public_html/wp-content/plugins/code-snippets/code-snippets.php on line 1783
It appears that simplexml_load_file() is not able to load from the tmp_name. I ran a few tests and output file_load_contents( $file) within the import() function in code-snippets.php and it shows the XML file contents, but a var_dump on $xml variable within import() comes up with a bool(false)
Any ideas what the problem might be? Running on fresh install, no other plugins activated and default 2012 theme.
- The topic ‘[Resolved] Import Fatal Error’ is closed to new replies.