Hi all,
After i enter php bin/magento setup:upgrade, my site got below error and not accessible.
How to solve this problem?
thanks!
Warning: include(/home/admin/web/tiesecret.com/public_html/var/view_preprocessed/pub/static/vendor/magento/module-theme/view/base/templates/root.phtml): failed to open stream: No such file or directory in /home/admin/web/tiesecret.com/public_html/vendor/magento/framework/View/Result/Page.php on line 326
Just remove var folder content from your site and give full permission for var folder to sort out your issue.
give full permission to var folder,
chmod -R 0777 var
after delete var folder content run upgrade command again.
please let me know if you have any query.
how to remove var content in command? Thanks!
You can use below command to remove var content,
rm -rf var/
This command apply but not working I have getting PHP Warning: require(/var/www/html/XXXX/vendor/classyllama/module-avatax/registration.php): failed to open stream: No such file or directory in /var/www/html/XXXX/ve
Might be stating the obvious but,
do you remember that app/etc/env.php is excluded by default in .gitignore?