From 08a424c768d3e7a79db145888215a4bcda7c00df Mon Sep 17 00:00:00 2001 From: girishpanchal30 Date: Tue, 3 Sep 2024 14:23:55 +0530 Subject: [PATCH] Fix fatal error with PHP 8 --- includes/admin/feedzy-rss-feeds-actions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/includes/admin/feedzy-rss-feeds-actions.php b/includes/admin/feedzy-rss-feeds-actions.php index a7823c7f..97eafd9c 100644 --- a/includes/admin/feedzy-rss-feeds-actions.php +++ b/includes/admin/feedzy-rss-feeds-actions.php @@ -530,7 +530,7 @@ private function modify_links() { libxml_use_internal_errors( true ); $dom->loadHTML( $content, LIBXML_HTML_NOIMPLIED | LIBXML_HTML_NODEFDTD ); $xpath = new DOMXPath( $dom ); - libxml_clear_errors( true ); + libxml_clear_errors(); // Get all anchors tags. $nodes = $xpath->query( '//a' );