HRM icon indicating copy to clipboard operation
HRM copied to clipboard

db:seed command is not working

Open imvision opened this issue 6 years ago • 1 comments

php artisan db:seed

The output from this command is:

Seeding: AreaTableSeeder [ErrorException] count(): Parameter must be an array or an object that implements Countable

imvision avatar Oct 29 '18 10:10 imvision

add this code at the beginning of AreaTableSeeder.php if(version_compare(PHP_VERSION, '7.2.0', '>=')) { error_reporting(E_ALL ^ E_NOTICE ^ E_WARNING); }

damalayahya avatar Jan 09 '20 07:01 damalayahya