I followed these steps, and it worked for me. Can you please try?
1 . Delete the vendor folder
2 . reinstall the composer / or update the composer dependencies
composer install
or
composer update
3 . make sure you clear the configuration cache. Or you can remove the cache
php artisan optimize:clear
or
PHP artisan optimize
This worked for me hope that you make sense of it and solve your issue.