WordPress Import Failure Blank Screen

When trying to import a WordPress XML dump from another instance, after submitting the upload it returned a blank screen containing only “Import WordPress”.

A quick check of the php logs showed the entry:

PHP Fatal error: Class ‘DOMDocument’ not found in /home/xxxxxx/wp-content/plugins/wordpress-importer/parsers.php on line 61

You just need to install the php-xml module.

yum install php-xml

service restart httpd

Refresh your browser and try it again. Should be all good.

Posted in Linux Applications, Linux SysAdmin, WordPress and tagged , , , , , , , .