• Hi, I’m seeing a lot of warnings in the log file:

    
    PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /home/xxxxx/public_html/wp-content/plugins/wp-defender/app/module/ip-lockout/controller/main.php on line 620
    
Viewing 2 replies - 1 through 2 (of 2 total)
  • Hey @ravanh,

    We had similar reports about this on certain installations running on PHP 7.2 but it should have been resolved with 2.1.2 release as we can no longer replicate this.
    Can you make sure that you’re using the latest version of the plugin?
    If the issue is still there for you can you please tell me which PHP version you are using and where is your site hosted so we could check this further from our end?

    Cheers,
    Predrag

    Thread Starter Rolf Allard van Hagen

    (@ravanh)

    Hi Predrag, that’s probably it, I’ve got Pro version 2.1.1.1 but cannot upgrade to 2.1.2 right now because of my WPMUDEV account being on hold… Thanks! 🙂

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘count(): Parameter must be an array’ is closed to new replies.