I am having cache issues on my website, i ran all the artisan cache
but it didn't resolve my caching issues. So, I tried to run the composer dump-autoload command and i have been having the following issues.
composer dump-autoload
Generating optimized autoload files
Warning: Ambiguous class resolution, "App\Mail\WelcomeEmail" was found in both "/var/www/html/jupiterweb/app/Mail/WelcomeEmail.php" and "/var/www/html/jupiterweb/app/Mail/WELCOMEmail.php", the first will be used.
In AutoloadGenerator.php line 288:
file_put_contents(/var/www/html/jupiterweb/vendor/composer/autoload_namespaces.php): failed to open stream: Permission denied
I only have this WelcomeEmail.php file to my server but not WELCOMEEmail.php
plus it talks about permission issue
file_put_contents(/var/www/html/jupiterweb/vendor/composer/autoload_namespaces.php): failed to open stream: Permission denied