the error is :
CarbonCarbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in
C:UserstejassurveDocumentscodejobhunt_projectvendornesbotcarbonsrcCarbonTraitsCreator.php on line 98
below is the line where error comes
self::setLastErrors(parent::getLastErrors());
2
Answers
If you can not change your PHP version to 8.1, you can update this line
File Path
./vendor/nesbot/carbon/src/Carbon/Traits/Creator.php
Line No:
928
Old Line
private static function setLastErrors(array $lastErrors)
New Line
private static function setLastErrors($lastErrors)
it work
thank you
Just run this command:
composer update