Hello, after adding a new product to my store, I encountered an error. I am no longer able to access either my store page or even the admin market to undo my change.
The error given is:
There has been an error processing your request Error log record number: 1441239361194
Warning: fopen(/var/www/var/cache//mage-tags/mage---e69_MAGE): failed to open stream: Permission denied in /var/www/vendor/colinmollenhour/cache-backend-file/File.php on line 646
Hi @olivemarket
It looks like some permission issue.
Give the below permission to var/ folder from magento root folder.
sudo chmod -R 0777 var/ pub/ generated/
You can also found the error in the var/report folder. There will be a document file with the name of 1441239361194.
I hope it will help you!
Hello @olivemarket
it is permission issue and you can apply @Vimal Kumar answer if you are working locally.
Do not use 777 on server.
use below link for set permission
https://devdocs.magento.com/guides/v2.3/install-gde/prereq/file-system-perms.html
if works then mark as solution