Title: Errors
Last modified: June 17, 2020

---

# Errors

 *  Resolved [vitaljik](https://wordpress.org/support/users/vitaljik/)
 * (@vitaljik)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/errors-232/)
 * I am seeing a lot of errors like this on PHP 7.2:
 *     ```
       [15-Jun-2020 09:34:37 UTC] PHP Warning:  DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 10 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 09:34:37 UTC] PHP Warning:  DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 16 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 09:34:37 UTC] PHP Warning:  DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 22 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 09:34:37 UTC] PHP Warning:  DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 30 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 09:34:37 UTC] PHP Warning:  DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 33 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 09:34:37 UTC] PHP Warning:  DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 40 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 09:34:37 UTC] PHP Warning:  DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 51 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 09:34:37 UTC] PHP Warning:  DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 66 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 09:34:37 UTC] PHP Warning:  DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 70 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 09:34:37 UTC] PHP Warning:  DOMDocument::loadHTML(): Unexpected end tag : p in Entity, line: 82 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 12:01:02 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 368 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 12:01:03 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 368 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 14:01:14 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 234 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 14:01:14 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 324 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 14:01:14 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 431 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 14:01:14 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 434 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 14:05:24 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 116 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       [15-Jun-2020 14:05:24 UTC] PHP Warning:  DOMDocument::loadHTML(): htmlParseEntityRef: expecting ';' in Entity, line: 116 in /home1/.../public_html/wp-content/plugins/lh-multipart-email/includes/Html2Text.php on line 127
       ```
   
 * Some emails end up not being send and I believe this could be the issue.

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

 *  Plugin Author [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * (@shawfactor)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/errors-232/#post-13001519)
 * These are caused by malformed html that some other plugin is adding to an outgoing
   email. But they are warnings not errors and should not stop the process.
 * Noting I could suppress these warning altogther (but then you would not know 
   about the malformed html). Also noting that in production you usually should 
   not have warnings switched on.
 * [https://aristath.github.io/blog/wp-hide-php-errors](https://aristath.github.io/blog/wp-hide-php-errors)
 *  Plugin Author [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * (@shawfactor)
 * [5 years, 11 months ago](https://wordpress.org/support/topic/errors-232/#post-13001544)
 * Note I am resolving this thread for good order but I will still monitor th thread,
   so any question pleae let me know
 * Pete

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

The topic ‘Errors’ is closed to new replies.

 * ![](https://ps.w.org/lh-multipart-email/assets/icon-128x128.png?rev=1648763)
 * [LH Multipart Email](https://wordpress.org/plugins/lh-multipart-email/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/lh-multipart-email/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/lh-multipart-email/)
 * [Active Topics](https://wordpress.org/support/plugin/lh-multipart-email/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/lh-multipart-email/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/lh-multipart-email/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [shawfactor](https://wordpress.org/support/users/shawfactor/)
 * Last activity: [5 years, 11 months ago](https://wordpress.org/support/topic/errors-232/#post-13001544)
 * Status: resolved