Error when displaying the Incidents after updated Mantis
Posted: 22 Aug 2024, 19:20
Hello, good morning everyone. I updated our Mantis in all its layers;
- Old Mantis
OS: Centos7
Web Server: Apache/2.4.6
PHP version: 5.4.16
DB Version: 15.1 Distrib 5.5.44-MariaDB
Mantis Version: 1.2.19
- New Mantis
OS: Centos8
Web Server: Apache/2.4.37
PHP version: 7.2.24
DB Version: 15.1 Distrib 10.3.28-MariaDB
Mantis Version: 2.26.2
Although I have been able to solve some problems, I present the attached error when displaying the Incidents.
I have reviewed the problem and would understand that the count() function is being called on a variable that is not an array or an object that implements the Countable interface (required since PHP version 7.2).
How could I solve this problem? Could you help me find the solution?
Grateful in advance. Greetings.
- Old Mantis
OS: Centos7
Web Server: Apache/2.4.6
PHP version: 5.4.16
DB Version: 15.1 Distrib 5.5.44-MariaDB
Mantis Version: 1.2.19
- New Mantis
OS: Centos8
Web Server: Apache/2.4.37
PHP version: 7.2.24
DB Version: 15.1 Distrib 10.3.28-MariaDB
Mantis Version: 2.26.2
Although I have been able to solve some problems, I present the attached error when displaying the Incidents.
I have reviewed the problem and would understand that the count() function is being called on a variable that is not an array or an object that implements the Countable interface (required since PHP version 7.2).
How could I solve this problem? Could you help me find the solution?
Grateful in advance. Greetings.