phegman / October-CMS-Slick-Slider

Easily create responsive slideshows from the backend and insert them as a component. Supports multiple rows, multiple images per slide, and responsive breakpoints. Built using Ken Wheeler's Slick Slider (http://kenwheeler.github.io/slick/)
MIT License
14 stars 8 forks source link

"count(): Parameter must be an array or an object that implements Countable" #14

Closed Hessel91 closed 6 years ago

Hessel91 commented 6 years ago

I get this error after upgrade to php7.2 can you please offer support?

phegman commented 6 years ago

This has to do with this change in PHP 7.2 http://php.net/manual/en/migration72.incompatible.php/#migration72.incompatible.warn-on-non-countable-types

I will try and fix in the next few days, or feel free to open up a PR to fix the issue

phegman commented 6 years ago

Fixed in 1.1.2