-
Notifications
You must be signed in to change notification settings - Fork 61
Closed
Description
FeedWordPress version 2022.0204
Multisite setup
WordPress recently updated to 5.9: same issue.
Tried PHP 7.3, 7.4, 8.0: same issue.
Web server is OpenLiteSpeed (CyberPanel) but I don't think this is relevant.
When adding a new feed, it aborts with a critical error within the RSS 2.0 Sample Item display box, eg.:
Sample Item
Title: [Item Title Here](https://bestever.media/article-url)
Date: 01-Feb-22 12:00:00 am
Une erreur critique est survenue sur votre site.
[En apprendre plus sur le débogage de WordPress.](https://fr.wordpress.org/support/article/faq-troubleshooting/)
Yep, I know, it's in French. But it means: "There has been a critical error on this website."
The PHP error log shows something akin to the following:
2022-02-08 05:32:25.954317 [NOTICE] [3129299] [104.37.80.211:55455-Q:B76B1D77724A9467-8#example.com] [STDERR] PHP Fatal error: Uncaught ArgumentCountError: Too few arguments to function wp_kses(), 1 passed in /home/example.com/public_html/wp-content/plugins/feedwordpress/feeds-page.php on line 998 and at least 2 expected in /home/example.com/public_html/wp-includes/kses.php:762
Stack trace:
#0 /home/example.com/public_html/wp-content/plugins/feedwordpress/feeds-page.php(998): wp_kses('Truncated Feed Title...')
#1 /home/example.com/public_html/wp-content/plugins/feedwordpress/feeds-page.php(134): FeedWordPressFeedsPage->display_feedfinder()
#2 /home/example.com/public_html/wp-content/plugins/feedwordpress/feeds-page.php(1320): FeedWordPressFeedsPage->display()
#3 /home/example.com/public_html/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php(1184): include_once('/home/example.c...')
#4 /home/example.com/public_html/wp-content/plugins/feedwordpress/feedwordpresssyndicationpage.class.php(409): fwp_feedfinder_page()
#5 /home/example.com/public_html/wp-content/plugins/feedwordpress/syndication.php(5): FeedWordPressSyndicationPage in /home/example.com/public_html/wp-includes/kses.php on line 762
So I guess something was changed in WP's wp_kses.php.
All existing feed on various sites (of the multisite network) get fetched and updated without any problem. But since some time (last update? plugin or WordPress?) I'm simply not able to add new feeds because of this error.
Metadata
Metadata
Assignees
Labels
No labels