Error Warning: count()


DOLIBARR ENVIRONMENT
- Version: 9.0.1
- Operating System: Ubuntu 16.04
- Web Server: Apache
- PHP: 7.3.5
- Database: MySQL
- URL(s):


Hello
I am new to this forum and I thank the contributors in advance. I was introduced to Dolibarr to manage our small association. I have three types of dues to join the association. When I activate the payment from /adherents/admin/website.php I get this error message: Warning: count (): Parameter must be an array or an object that implements Countable in /dolibarr-9.0.1/htdocs/adherents/admin/website.php on line 182

How should I interpret this? I am on a brand new basic installation, I did not touch the code. I guess I must miss a parameter, but which one?

Hi,

Dolibarr is not 100% ready for php 7.3, we still have some warnings.
So either you disable warnings in php or you go back to php 7.1 or 7.2

Indeed, with PHP 7.1 it works. With 7.2 and 7.3 I always had the error.
Sorry for the duplicate in the application, I thought the first submission failed because I did not follow the publication standard.

No problem.

It just becuase of SPAM we need to approuve the first topic of new users.