Count(): parameter must be an array or an object that implements countable:
Solution:-
put on top side in web.php
use Illuminate\Http\Request;
if(version_compare(PHP_VERSION, ‘7.2.0’, ‘>=’)) {
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
}
And also put other microservice
use Illuminate\Http\Request;
if(version_compare(PHP_VERSION, ‘7.2.0’, ‘>=’)) {
error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING);
}