I have tried and failed to fix this bug; this came in at php 7.2 and the full error is:
count(): Parameter must be an array or an object that implements Countable
the offending line of code is:
return count(isset($context['friends']) ? $context['friends'] : null);
any suggestions ?
Can you attach the whole file?
Try replacing 'null' with 'array()'.
Here is the full code ...
Quote from: shawnb61 on May 16, 2021, 11:35:30 AM
Try replacing 'null' with 'array()'.
I think that worked ... many, many thanks if it stays that way !