PHP 7.2: Warning: count(): Parameter must be an array or an object that implements Countable...

Issue #15 resolved
Former user created an issue

syntax.php - Line 163 seems to be incompatible with PHP 7.2. I followed this guy's example (https://mage2.pro/t/topic/5216/4) to get it working.

Comments (3)

  1. D. C. Stoyanov repo owner

    Thank you to point this issue out to me, which I can confirm.

    Unfortunately the problem is not the count() itself but the fact that I can't detect if JavaScript is enabled while the browser is loading the page for the first time.

  2. Log in to comment