PHP Fatal error
-
hi,
we are using the plugin in the latest version 3.1.4.
php version is 8.2.13
the following errors we got:
[11-Dec-2023 10:11:18 UTC] PHP Fatal error: Uncaught ValueError: DOMDocument::loadHTML(): Argument #1 ($source) must not be empty in /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/wp-mailto-links/core/includes/classes/class-wp-mailto-links-validate.php:334 Stack trace: #0 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/wp-mailto-links/core/includes/classes/class-wp-mailto-links-validate.php(334): DOMDocument->loadHTML() #1 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/wp-mailto-links/core/includes/classes/class-wp-mailto-links-validate.php(59): WP_Mailto_Links_Validate->filter_soft_dom_attributes() #2 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/wp-mailto-links/core/includes/classes/class-wp-mailto-links-run.php(291): WP_Mailto_Links_Validate->filter_page() #3 /var/www/vhosts/domain.de/httpdocs/wp-includes/class-wp-hook.php(324): WP_Mailto_Links_Run->filter_page() #4 /var/www/vhosts/domain.de/httpdocs/wp-includes/plugin.php(205): WP_Hook->apply_filters() #5 /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/wp-mailto-links/core/includes/classes/class-wp-mailto-links-run.php(92): apply_filters() #6 [internal function]: WP_Mailto_Links_Run->apply_content_filter() #7 /var/www/vhosts/domain.de/httpdocs/wp-includes/functions.php(5373): ob_end_flush() #8 /var/www/vhosts/domain.de/httpdocs/wp-includes/class-wp-hook.php(324): wp_ob_end_flush_all() #9 /var/www/vhosts/domain.de/httpdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters() #10 /var/www/vhosts/domain.de/httpdocs/wp-includes/plugin.php(517): WP_Hook->do_action() #11 /var/www/vhosts/domain.de/httpdocs/wp-includes/load.php(1260): do_action() #12 [internal function]: shutdown_action_hook() #13 {main} thrown in /var/www/vhosts/domain.de/httpdocs/wp-content/plugins/wp-mailto-links/core/includes/classes/class-wp-mailto-links-validate.php on line 334
what could be done to eliminate it?
br,
newbie2004
- The topic ‘PHP Fatal error’ is closed to new replies.