Multiple errors after upgrade to PHP 7.2.0 in Flywheel (Apache)


I’ve held off on upgrading since my local environment was finally working, but I wanted to get to the latest PHP eventually, so I tried it today.

I’m getting errors throughout the site with sitewide notices stating:
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /app/public/wp-content/plugins/ (some plugin file)

From what I’ve read, this is just an informational notice for debugging. If that’s the case, how would I turn off debugging in Flywheel so that I don’t see these alerts on the site?

Never mind on this issue. I resolved it. Just needed to turn off error reporting in php.ini