Title: PHP 7 getting blank screen while importing
Last modified: June 6, 2017

---

# PHP 7 getting blank screen while importing

 *  [qamar11](https://wordpress.org/support/users/qamar11/)
 * (@qamar11)
 * [9 years ago](https://wordpress.org/support/topic/php-7-getting-blank-screen-while-importing/)
 * Hi
    We are importing the html pages and we are using latest wordpress with PHP
   7 and during importing we are getting bank screen
 * “HTML Importer
    Importing HTML files…”
 * And nothing importing

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Thread Starter [qamar11](https://wordpress.org/support/users/qamar11/)
 * (@qamar11)
 * [9 years ago](https://wordpress.org/support/topic/php-7-getting-blank-screen-while-importing/#post-9202697)
 * Uncaught Error: Class ‘DOMDocument’ not found in /var/www/html/soe/wp-content/
   plugins/import-html-pages/html-importer.php:362 Stack trace: #0 /var/www/html/
   soe/wp-content/plugins/import-html-pages/html-importer.php(291): HTML_Import-
   >get_post(‘/home/ubuntu/sc…’, false) #1 /var/www/html/soe/wp-content/plugins/
   import-html-pages/html-importer.php(1098): HTML_Import->get_files_from_directory(‘/
   home/ubuntu/sc…’) #2 /var/www/html/soe/wp-content/plugins/import-html-pages/html-
   importer.php(1128): HTML_Import->import() #3 /var/www/html/soe/wp-admin/admin.
   php(308): HTML_Import->dispatch() #4 {main} thrown in /var/www/html/soe/wp-content/
   plugins/import-html-pages/html-importer.php on line 362
 *  Anonymous User 15528543
 * (@anonymized-15528543)
 * [8 years, 11 months ago](https://wordpress.org/support/topic/php-7-getting-blank-screen-while-importing/#post-9270127)
 * Same for me.
    I looked at apache error log on ubuntu : sudo nano /var/log/apache2/
   error.log
 * got the error :
    PHP Fatal error: Uncaught Error: Class ‘DOMDocument’ not found
   in /var/www/html/wp-content/plugins/import-html-pages/html-importer.php:362\nStack
   trace:$
 * Search a little and found that it could a problem with the xml importer. So I
   have done :
    sudo apt-get install php-xml and then it worked.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘PHP 7 getting blank screen while importing’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/import-html-pages.svg)
 * [HTML Import 2](https://wordpress.org/plugins/import-html-pages/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/import-html-pages/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/import-html-pages/)
 * [Active Topics](https://wordpress.org/support/plugin/import-html-pages/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/import-html-pages/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/import-html-pages/reviews/)

## Tags

 * [php-7](https://wordpress.org/support/topic-tag/php-7/)

 * 2 replies
 * 2 participants
 * Last reply from: Anonymous User 15528543
 * Last activity: [8 years, 11 months ago](https://wordpress.org/support/topic/php-7-getting-blank-screen-while-importing/#post-9270127)
 * Status: not resolved