We are transitioning over to a new forum platform. Please post new issues there. Existing threads will be dealt with here unless you choose to move them over. Visit the new forum


Thread tagged as: Runway

php 7.2 - that "count(): Parameter must be an array or an object that implements...

This is just a note. I tried php 7.2 and got the following warning:

Warning path/to/core/lib/PerchFieldTypes.class.php 70 count(): Parameter must be an array or an object that implements Countable

(... on the "Adding a member" form.)

I installed php 7.2 from https://php-osx.liip.ch/

Jerome Imfeld

Jerome Imfeld 0 points

  • 2 years ago
Drew McLellan

Drew McLellan 2638 points
Perch Support


I installed 7.2 via home brew on my Mac and had the exact same error. I switched to 7.1 to resolve the issue. I just wanted to chime in and say that I had the same issue so it must be something specific with how 7.2 handles count. Only difference for me was that error occurred on the add products page of shop admin.