Upgrade & Secure Your Future with DevOps, SRE, DevSecOps, MLOps!

We spend hours on Instagram and YouTube and waste money on coffee and fast food, but won’t spend 30 minutes a day learning skills to boost our careers.
Master in DevOps, SRE, DevSecOps & MLOps!

Learn from Guru Rajesh Kumar and double your salary in just one year.



Get Started Now!

Error-In Laravel

error in laravel

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);

}

0 0 votes
Article Rating
Subscribe
Notify of
guest
0 Comments
Inline Feedbacks
View all comments
0
Would love your thoughts, please comment.x
()
x