Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP Fatal error: Uncaught TypeError: DOMXPath #452

Closed
cybeardjm opened this issue Dec 28, 2023 · 0 comments
Closed

PHP Fatal error: Uncaught TypeError: DOMXPath #452

cybeardjm opened this issue Dec 28, 2023 · 0 comments

Comments

@cybeardjm
Copy link

Just found multiple occurences of this error in my PHP error log

[28-Dec-2023 18:34:10 UTC] PHP Fatal error: Uncaught TypeError: DOMXPath::__construct(): Argument #1 ($document) must be of type DOMDocument, WP_Error given in /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/webmention/includes/class-response.php:256
Stack trace:
#0 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/webmention/includes/class-response.php(256): DOMXPath->__construct()
#1 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/webmention/includes/class-response.php(336): Webmention\Response->get_html_links()
#2 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/webmention/includes/class-discovery.php(176): Webmention\Response->get_links_by()
#3 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/webmention/includes/functions.php(272): Webmention\Discovery::discover_endpoint()
#4 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/webmention/includes/class-sender.php(104): webmention_discover_endpoint()
#5 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/webmention/includes/class-sender.php(181): Webmention\Sender::send_webmention()
#6 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/webmention/includes/class-sender.php(299): Webmention\Sender::send_webmentions()
#7 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/class-wp-hook.php(324): Webmention\Sender::do_webmentions()
#8 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/class-wp-hook.php(348): WP_Hook->apply_filters()
#9 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-includes/plugin.php(565): WP_Hook->do_action()
#10 /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-cron.php(191): do_action_ref_array()
#11 {main}
thrown in /srv/data/web/vhosts/www.didiermary.fr/htdocs/wp-content/plugins/webmention/includes/class-response.php on line 256

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant