I had no problem upgrading 2.3.3 to 2.5.0 and PHP 7.2.11 but once upgraded, I had the error shown below. However I forgot to install the latest Microsoft C++ 2017 Runtime (x64) redistributable package which is supposed to be used with 7.2. Could this be the cause of my error when I did some simple testing of assigning a Change Request to a team.
PHP Warning: count(): Parameter must be an array or an object that implements Countable in D:\inetpub\iTop250\application\cmdbabstract.class.inkc.php on line 2491 PHP.
The above error 4 times.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
This error is related with iTop & PHP7.2 not MS C++. It should be fixed with the new iTop 2.5.1 release as we included some code fixes that were missing in the 2.5.0.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Now that iTop 2.6.1 has been released, can you tell me which version of PHP 7.2 is compatible please. On the PHP site the only version shown is 7.2.17. I did download 7.2.16 a couple of months ago. Is iTop 2.6.1 a stable release?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi I was wondering if iTop 2.5 will support PHP 7.2. I have been running into quite a few issues with the setup of 2.4 running PHP 7.2.
Hi Jeff,
Yes iTop now supports PHP 7.2 since revision 5888. So it will be included in iTop 2.5 :)
Last edit: Guillaume Lajarige 2018-07-05
Awesome thank you very much for the quick response!
You're welcome!
Have a nice day :)
I had no problem upgrading 2.3.3 to 2.5.0 and PHP 7.2.11 but once upgraded, I had the error shown below. However I forgot to install the latest Microsoft C++ 2017 Runtime (x64) redistributable package which is supposed to be used with 7.2. Could this be the cause of my error when I did some simple testing of assigning a Change Request to a team.
PHP Warning: count(): Parameter must be an array or an object that implements Countable in D:\inetpub\iTop250\application\cmdbabstract.class.inkc.php on line 2491 PHP.
The above error 4 times.
Hi Diane,
This error is related with iTop & PHP7.2 not MS C++. It should be fixed with the new iTop 2.5.1 release as we included some code fixes that were missing in the 2.5.0.
Now that iTop 2.6.1 has been released, can you tell me which version of PHP 7.2 is compatible please. On the PHP site the only version shown is 7.2.17. I did download 7.2.16 a couple of months ago. Is iTop 2.6.1 a stable release?
iTop 2.6.1 should be a stable release, since it's a maintenance release.
Generally speaking, it's always recommended to stay up to date on PHP releases, but I doubt there's a lot of differences between 7.2.16 and 7.2.17?
I can confirm that iTop 2.6.1 had no installation issues with PHP 7.2.17.
Hi Diane,
Thanks for the feedback! :)