do not exclude in the .gitignore file the vendor folder... you need to upload the whole vendor folder to fix that issue
Trait 'Illuminate\Foundation\Auth\Access\AuthorizesRequests' not found
I am seeing "Trait 'Illuminate\Foundation\Auth\Access\AuthorizesRequests' not found" for godaddy shared hosting but working properly on localhost. Godaddy is not supporting composer update. How can i solve this?
If you do not have shell access to the server to run composer commands you will need to run them locally then upload the entire vendor folder manually. Composer updates the autoloader classes whenever packages are added/removed/updated so you'll need to make sure you upload them and not just the changes package folders.
Most shared hosts will give you some sort of jailed or limited shell access if you ask for it. Sometimes it there will be a small fee for them to enable it but that would let you run composer or artisan commands which would save a huge amount of time.
If your hosting provider doesn't do this I suggest dumping them for one that does.
Please or to participate in this conversation.