Error Message 'count()'

While updating a sites setting (Manage Site Edit Tab) the php error log reports:

Got error ‘PHP message: PHP Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/htdocs/wp-content/plugins/mainwp/class/class-mainwp-ui.php on line 391’

Same on the UpdatesManage screen

Thanks for reporting this, I tried to duplicate the problem, but I couldn’t.

I will pass the error message to our dev team to clean this.

The dev team confirmed that this issue has been fixed and it will be included in the next update.

Fixed in the version 4.1-beta2