Warning: include(/home/healthba/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/healthba/public_html/vendor/magento/framework/View/Result/Page.php on line 326
Magento – This error has occured in magento 2, how can I fix it
magento2
Best Answer
Please run the following commands in the given order and check,
php bin/magento setup:upgrade
rm -rf var/{cache,di,generation,page_cache,view_preprocessed}
php bin/magento setup:static-content:deploy
php bin/magento setup:di:compile