MainWP Community

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’

1 Like

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

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.