PHP 7.2.0 problem?

I cannot make LBF to work.

I’m using the latest version of it on my Macbook Pro, fully updated.
I created new site, using Apache, mySQL 5.6, and PHP 7.2.0 as recommended by Wordpress team.

Then I installed one of the theme I’m working with which is Calafate, and it give me PHP errors. I did exactly the same on MAMP with PHP 7.2.1, and it’s working perfectly without problems.

When I downgrade to 7.1 errors disappear but I cannot tell whether everything is fine yet.

Screenshot attached.

Any ideas?

Firstly this isn’t a Local error. The error is specific to PHP 7.2 enforcing that the count() must be countable, such as an array or an object. PHP 7.1 and lower do not strictly enforce this.

In the case of the code in question, the variable global $posts must be null or something. This might be better asked in the WordPress forums.