array_filter() expects parameter 1 to be array, null given in functions.php on line 2360

Home Forums BulletProof Security Pro array_filter() expects parameter 1 to be array, null given in functions.php on line 2360

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #41791
    Living Miracles
    Participant

    Hello,

    We’ve been noticing for some weeks now that we’re unexpectedly continuing to get BPS Pro PHP Error Log emails sent to us from our across our 40+ WordPress sites. When I started to look into them, most of them have the same two repeating “PHP Warning” entries that seem to get produced every 5–15 minutes (depending on the site). The two repeating “PHP Warning” entries we’re seeing are the following:

    PHP Warning: array_filter() expects parameter 1 to be array, null given in /server_path/domain.tld/public_html/wp-content/plugins/bulletproof-security/includes/functions.php on line 2360
    PHP Warning: Invalid argument supplied for foreach() in /server_path/domain.tld/public_html/wp-content/plugins/bulletproof-security/includes/functions.php on line 2362

    From what I could tell, this seems to have suddenly started to occur early this April across all of our WordPress sites and appears to be BPS Pro-related based on the content/path of these PHP Warnings. Do you know how we can resolve these PHP Warnings, or if this is an issue to be resolved from BPS Pro’s end?

    Thank you!

    #41793
    AITpro Admin
    Keymaster

    That code has to do with the DNS checking code in the BPS Pro plugin auto-update feature.  These php errors will be fixed in BPS Pro 16.6.

    #41796
    Living Miracles
    Participant

    Wonderful, that’s great to hear what this is about and that it’ll be fixed in that update! Thank you. 🙏🏼

Viewing 3 posts - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.