Title: fatal php error
Last modified: November 22, 2019

---

# fatal php error

 *  Resolved [bttmrc](https://wordpress.org/support/users/bttmrc/)
 * (@bttmrc)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/fatal-php-error-15/)
 * Hello,
 * I’m getting this error,
 *     ```
       PHP Fatal error:  Uncaught Error: Class 'DOMDocument' not found in /home/*****/*****/wp-content/plugins/wp-html-mail/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php:118
       Stack trace:
       #0 /home/*****/*****/wp-content/plugins/wp-html-mail/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php(185): voku\helper\HtmlDomParser->__construct()
       #1 /home/*****/*****/wp-content/plugins/wp-html-mail/vendor/voku/css-to-inline-styles/src/CssToInlineStyles.php(250): voku\helper\HtmlDomParser::__callStatic('str_get_html', Array)
       #2 /home/*****/*****/wp-content/plugins/wp-html-mail/includes/class-haet-mail.php(627): voku\CssToInlineStyles\CssToInlineStyles->convert()
       #3 /home/*****/*****/wp-content/plugins/wp-html-mail/includes/class-haet-mail.php(603): Haet_Mail->inline_css('<!DOCTYPE html>...')
       #4 /home/*****/*****/wp-content/plugins/wp-html-mail/includes/class-haet-mail.php(397): Haet_Mail->prepare_email_for_delivery('<!DOCTYPE html>...')
       #5 /home/*****/*****/wp-includes/class-wp-hook.php(288) in /home/*****/*****/wp-content/plugins/wp-html-mail/vendor/voku/simple_html_dom/src/voku/helper/HtmlDomParser.php on line 118
       ```
   
 * Did this happen before?

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

 *  Plugin Author [Hannes Etzelstorfer](https://wordpress.org/support/users/haet/)
 * (@haet)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/fatal-php-error-15/#post-12163796)
 * Hello,
    I haven’t seen this before… Maybe an error during installation… Can you
   try to delete and reinstall the plugin. If this doesn’t work please send me a
   few more details: WordPress Version: WP HTML Mail version: PHP Version: best 
   regards, Hannes
 *  Plugin Support [Julian](https://wordpress.org/support/users/juliangk/)
 * (@juliangk)
 * [6 years, 6 months ago](https://wordpress.org/support/topic/fatal-php-error-15/#post-12218499)
 * As there have been no further replies in this thread I will mark it as resolved.
 * If you need further assistance, please open a new thread.
 * Best regards
    Julian

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

The topic ‘fatal php error’ is closed to new replies.

 * ![](https://ps.w.org/wp-html-mail/assets/icon-256x256.png?rev=1730334)
 * [Email Template Designer - WP HTML Mail](https://wordpress.org/plugins/wp-html-mail/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-html-mail/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-html-mail/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-html-mail/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-html-mail/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-html-mail/reviews/)

 * 2 replies
 * 3 participants
 * Last reply from: [Julian](https://wordpress.org/support/users/juliangk/)
 * Last activity: [6 years, 6 months ago](https://wordpress.org/support/topic/fatal-php-error-15/#post-12218499)
 * Status: resolved