When you install Laravel application on server for the first time, probably see error warnings. Usually the motive is folder permissions.
For this reason I have gathered possible actions that will solve your problem.
storage/ storage/app storage/framework/cache storage/framework/session storage/framework/views storage/framework/testing storage/logs
chmod -R 775 storage php artisan config:cache
sudo chmod -R 777 bootstrap/cache php artisan config:cache
if the action results in error try make this directory and after run the command again.
php artisan optimize:clear