• I have noticed a slowness of a site and began to explore so I installed and activated Query Monitor. The only thing I really noticed was that on the on the frontend in Query Monitor the following Php error is repeated 146 times.

    DOMDocument::loadHTML(): Tag svg invalid in Entity, line: 111+wp-content/plugins/email-encoder-bundle/core/includes/classes/class-email-encoder-bundle-validate.php:393

    Different lines in the same file are mentioned along the way.

    Other examples.
    DOMDocument::loadHTML(): Tag article invalid in Entity, line: 685
    DOMDocument::loadHTML(): Tag time invalid in Entity, line: 685
    DOMDocument::loadHTML(): Tag footer invalid in Entity, line: 706
    Etc etc.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Same warnings here. WP 6.1, PHP 8.0. Here’s a sample from the locations column in Query Monitor for the warning “DOMDocument::loadHTML(): Tag figure invalid in Entity, line: 331”.

    [...]
    wp-content/plugins/email-encoder-bundle/core/includes/classes/class-email-encoder-bundle-run.php:124
    Email_Encoder_Run->apply_content_filter()
    Unknown location
    ob_end_flush()
    wp-includes/functions.php:5279
    wp_ob_end_flush_all()
    wp-includes/class-wp-hook.php:308
    do_action('shutdown')
    wp-includes/load.php:1124
    shutdown_action_hook()
    Unknown location

    Same here..

    vagabondfrog

    (@vagabondfrog)

    I have the same problem. Is there a solution ?
    I am using basic HTML encoding.

    I have the same problem.
    I am in the following environment in Japanese.

    WordPress 6.4.2
    Email Encoder 2.2.0
    PHP 7.4.33

    The location columns are a little different.

    wp-content/plugins/email-encoder-bundle/core/includes/classes/class-email-encoder-bundle-validate.php:409
    DOMDocument->loadHTML()
    wp-content/plugins/email-encoder-bundle/core/includes/classes/class-email-encoder-bundle-validate.php:409
    Email_Encoder_Validate->filter_soft_dom_attributes()
    wp-content/plugins/email-encoder-bundle/core/includes/classes/class-email-encoder-bundle-validate.php:78
    Email_Encoder_Validate->filter_page()
    wp-content/plugins/email-encoder-bundle/core/includes/classes/class-email-encoder-bundle-run.php:381
    Email_Encoder_Run->filter_page()
    wp-includes/class-wp-hook.php:324
    apply_filters('final_output')
    wp-content/plugins/email-encoder-bundle/core/includes/classes/class-email-encoder-bundle-run.php:189
    Email_Encoder_Run->apply_content_filter()
    wp-content/plugins/email-encoder-bundle/core/includes/classes/class-email-encoder-bundle-run.php:189
    ob_end_flush()
    wp-includes/functions.php:5373
    wp_ob_end_flush_all()
    wp-includes/class-wp-hook.php:324
    do_action('shutdown')
    wp-includes/load.php:1260
    shutdown_action_hook()
    wp-includes/load.php:1260
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Php errors seen with Query Monitor’ is closed to new replies.