• Resolved vitaljik

    (@vitaljik)


    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

    (@shawfactor)

    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

    Plugin Author shawfactor

    (@shawfactor)

    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.