Hello all,
I am starting a new project… I just want to make sure about the compatibility of cakephp 3.3 with php 7
Yes it is. All of the CakePHP 3.x releases are PHP7 compatible.
2 Likes
I am getting cakephp 3.1.7 error with php 7.2 -
Warning: count() [function.count]: Parameter must be an array or an object that implements Countable in /vendor/cakephp/cakephp/src/Database/QueryCompiler.php on line 115
How to resolve?
Try to echo the parameter to the screen, to see what type it is. Maybe it’s a query that first needs to be exeuted. You can either use debug or a test function to see why the parameter is not recognised as something countable.