# ============================================ # QUICK FIX - Run These Commands On Your Server # ============================================ cd ~/public_html # 1. Clear everything php artisan optimize:clear php artisan cache:clear php artisan config:clear php artisan route:clear php artisan view:clear # 2. Regenerate autoload composer dump-autoload # 3. Check if config files exist - if not, publish them php artisan config:publish # OR manually get config files from Laravel # Download fresh Laravel config files and copy to config/ folder # 4. Optimize again php artisan optimize # 5. Test php artisan route:list # ============================================ # If configs are still missing, run this: # ============================================ # Install a fresh Laravel temporarily to get config files cd ~ composer create-project laravel/laravel temp-laravel --no-install cp -r temp-laravel/config/* ~/public_html/config/ rm -rf temp-laravel cd ~/public_html php artisan optimize:clear php artisan optimize