• Resolved allenhow

    (@allenhow)


    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.

Viewing 2 replies - 1 through 2 (of 2 total)
  • I have possibly the same issue……My staging site was working great, pushed it to the live site, working great again and then while making final checks/changes I noticed the Php version was old…..upgraded to version 3 and my site became unresponsive or takes 45 seconds to load any screen in the back end.

    I’ve tried reverting back to Php 7.2 with no luck.

    I now have a testing site with a default theme and only the wp rss aggregator plugin and have confirmed that activating the plugin slows everything down…..I had to remove the plugin via file manager in Cpanel to regain access to my site.

    @allenhow Are you able to access the RSS Aggregator > Templates page?

    If you’re unable visit that page, or if you can visit it and notice multiple default templates, this means there has been an intermittent error that causes duplicate default templates to be created.

    To fix this, take a backup of your site and from the database, delete all posts with post_type equal to wprss_feed_template.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘phP 7.3 and RSS Agregator causes error’ is closed to new replies.