Laravel 8, 9 error at PHP 8.2 : Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in your path/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 97

Laravel:
Carbon\Carbon::setLastErrors(): Argument #1 ($lastErrors) must be of type array, bool given, called in your path/vendor/nesbot/carbon/src/Carbon/Traits/Creator.php on line 97

solution: composer update

more info:
https://stackoverflow.com/questions/74749564/laravel-carbon-carbonsetlasterrors

B logbook : PHP | Javascript | Laravel | CodeIgniter | VueJs | ReactJs | WordPress