phP 7.3 and RSS Agregator causes error
-
When I attempted an upgrade to PHP 7.3 from 7.0, the RSS Aggregator started throwing this error:
Error Message:
Too few arguments to function {closure}(), 1 passed in /var/www/html/blog/wp-includes/class-wp-hook.php on line 286 and exactly 3 expected
Stack trace:
#0 /var/www/html/blog/wp-includes/class-wp-hook.php(286): {closure}(Array)
#1 /var/www/html/blog/wp-includes/plugin.php(208): WP_Hook->apply_filters(Array, Array)
#2 /var/www/html/blog/wp-content/themes/barthelme-101/functions.php(91): apply_filters(‘post_class’, Array)
#3 /var/www/html/blog/wp-content/themes/barthelme-101/index.php(8): barthelme_post_class()
#4 /var/www/html/blog/wp-includes/template-loader.php(78): include(‘/var/www/html/b…’)
#5 /var/www/html/blog/wp-blog-header.php(19): require_once(‘/var/www/html/b…’)
#6 /var/www/html/blog/index.php(17): require(‘/var/www/html/b…’)
#7 {main}Disabling the plugin allowed the site to load, but would just leave the code for the RSS Aggregator in the page. If I switched themes, the page would load, but it also wouldn’t load any aggregated information and would just leave the code behind that looks like this:
[wp_rss_aggregator links_before=’
- ‘ link_before=’
- ‘ link_after=’
‘ links_after=’
‘]
Has anyone else had this experience?
This is running on a RHEL 7 Apache site.
- The topic ‘phP 7.3 and RSS Agregator causes error’ is closed to new replies.