You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi Roland! I'm on PHP 7.2 and don't see these warnings, but I'm sure they can pop up so in the next version I'll fix this. wireCount() wouldn't work prior to PW 3.0.79 so I'll implement count in Autosmush module itself.
As of PHP 7.2 this error comes up on optimize. I replaced 3 occurrences of count() with wireCount() which fixed it (the excluded one was on line 581).
processwire/processwire-issues#408
I'm not sure this is the best solution though, I don't know if this in earlier PW versions would work or not.
The text was updated successfully, but these errors were encountered: