Hi Guys
In my /public_html/var/report i get a lot of reports with this:
What is that ?
{"0":"Warning: include(\/var\/www\/.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 \/var\/www\/.com\/public_html\/vendor\/magento\/framework\/View\/Result\/Page.php on line 326","1":"#0 \/var\/www\/.com\/public_html\/vendor\/magento\/framework\/View\/Result\/Page.php(326):
Magento\\Framework\\App\\ErrorHandler->handler(2, 'include(\/var\/ww...', '\/var\/www\/kimbre...', 326, Array)\n#1 \/var\/www\/.com\/public_html\/vendor\/magento\/framework\/View\/Result\/Page.php(326): include()\n#2 \/var\/www\/.com\/public_html\/vendor\/magento\/framework\/View\/Result\/Page.php(259):
Magento\\Framework\\View\\Result\\Page->renderPage()\n#3 \/var\/www\/.com\/public_html\/vendor\/magento\/framework\/View\/Result\/Layout.php(170):
Magento\\Framework\\View\\Result\\Page->render(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#4 \/var\/www\/.com\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(58):
Magento\\Framework\\View\\Result\\Layout->renderResult(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#5 \/var\/www\/.com\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(138):
Magento\\Framework\\View\\Result\\Page\\Interceptor->___callParent('renderResult', rray)\n#6 \/var\/www\/.com\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(153):
Magento\\Framework\\View\\Result\\Page\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#7 \/var\/www\/.com\/public_html\/generated\/code\/Magento\/Framework\/View\/Result\/Page\/Interceptor.php(130):
Magento\\Framework\\View\\Result\\Page\\Interceptor->___callPlugins('renderResult', Array, Array)\n#8 \/var\/www\/.com\/public_html\/vendor\/magento\/framework\/App\/Http.php(139):
Magento\\Framework\\View\\Result\\Page\\Interceptor->renderResult(Object(Magento\\Framework\\App\\Response\\Http\\Interceptor))\n#9 \/var\/www\/.com\/public_html\/generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php(24): Magento\\Framework\\App\\Http->launch()\n#10 \/var\/www\/.com\/public_html\/vendor\/magento\/framework\/App\/Bootstrap.php(257):
Magento\\Framework\\App\\Http\\Interceptor->launch()\n#11 \/var\/www\/.com\/public_html\/index.php(89):
Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http\\Interceptor))\n#12
Hope you have given root permission for your Magento instance,
If not kindly give below permission for Magento instance,
sudo find var pub/static pub/media -type f -exec chmod g+w {} \; sudo find var pub/static pub/media -type d -exec chmod g+ws {} \; sudo find ./pub/media -type d -exec chmod 777 {} \; sudo find ./pub/static -type d -exec chmod 777 {} \;