• Resolved fdarn

    (@fdarn)


    Hello,
    There is an issue with the build in RSS feed widget for WordPress. I noticed this problem soon after the last the WordPress update.
    If you visit the site, the RSS Feed widget is on the right column labeled “Related News”
    the error message being show is Warning: preg_match() expects parameter 2 to be string, array given in /home/domains/ncrsol.org/public/wp-includes/class-simplepie.php on line 2620
    i checked the permissions on that file, they are 755.
    The WordPress version is 5.5.

    I hope someone can thell me what this problem is and how to resolve it.
    Thank you

    The page I need help with: [log in to see the link]

Viewing 9 replies - 1 through 9 (of 9 total)
  • Moderator t-p

    (@t-p)

    This may be a plugin or theme conflict. Please attempt to disable all plugins, and switch to the default Twenty Twenty theme. If the problem goes away, enable them one by one to identify the source of the problem.

    If you can install plugins, install Health Check. On the troubleshooting tab, you can click the button to disable all plugins and change the theme for you, while you’re still logged in, without affecting normal visitors to your site.

    Thread Starter fdarn

    (@fdarn)

    I did what you suggested. First I disabled all of the plugins. Then I switched the teme to twenty twenty. Nothing changed. The errors on the RSS feed are still there.

    I still see three plugins enabled on your site.

    Thread Starter fdarn

    (@fdarn)

    @jnashhawkins That is because I re-enabled all the plugins when disabling them didn’t reveal anything. Just like I re-enabled the theme.

    Thread Starter fdarn

    (@fdarn)

    Problem solved. This article was the solution. This is a bug that wordpress needs to fix.

    https://highbro.ws/node/40

    Hi,
    I have the same problem. Just from today, I have 345 entries in my log with the message “preg_match() expects parameter 2 to be string, array given in /wp-includes/class-simplepie.php on line 2620.”

    Wordpress 5.5 on ubuntu 18.04 and php 7.2.24.

    I already disabled all plugins to try to fix it and still have the same problem. I didn’t try the fix suggest by @fdarn, because I don’t see the date error message.

    So, should I just ignore it and wait for the fix? I didn’t notice any problems with my site. It’s just annoying so many messages on my log that are not actually an error.

    thank you.

    Thread Starter fdarn

    (@fdarn)

    @dasigrist
    You should try that fix I mentioned. It’s just a plugin. If it doesn’t work, you can uninstall it.
    The simplepie errors are because WordPress won’t fix the problem. This plugin did it instantly. I would like to know if it works for you too.
    This is the direct lnk to the zip file https://github.com/michaeluno/_fix-simplepie-errors/archive/master.zip

    Hi @fdarn,

    it worked for me too. I installed the plugin and I’m 6 hours without a preg_match() message.

    Thank you for your help

    all the best

    dasigrist

    Thread Starter fdarn

    (@fdarn)

    You are welcome. I am glad it worked.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘simplepie warning messages on WP RSS widget’ is closed to new replies.