• qamar11

    (@qamar11)


    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

    (@qamar11)

    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)

    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.