Fatal error: Uncaught Error: Class "Illuminate\Support\Collection" not found in /var/www/html/app/vendor/laravel/framework/src/Illuminate/Routing/SortedMiddleware.php:7 Stack trace: #0 {main} thrown in /var/www/html/app/vendor/laravel/framework/src/Illuminate/Routing/SortedMiddleware.php on line 7