cancel
Showing results for 
Search instead for 
Did you mean: 

Var repport issues?

SOLVED

Var repport issues?

Hi all

I get a lot of issues in my Var/report folder. But i really could imagine what it is ?

 

{"0":"Warning: include(\/var\/www\/kimbrer.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\/kimbrer.com\/public_html\/vendor\/magento\/framework\/View\/Result\/Page.php on line 326","1":"#0 \/var\/www\/kimbrer.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\/kimbrer.com\/public_html\/vendor\/magento\/framework\/View\/Result\/Page.php(326):
include()\n#2 \/var\/www\/kimbrer.com\/public_html\/vendor\/magento\/framework\/View\/Result\/Page.php(259):
Magento\\Framework\\View\\Result\\Page->renderPage()\n#3 \/var\/www\/kimbrer.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\/kimbrer.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\/kimbrer.com\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(138):
Magento\\Framework\\View\\Result\\Page\\Interceptor->___callParent('renderResult', Array)\n#6 \/var\/www\/kimbrer.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\/kimbrer.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\/kimbrer.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\/kimbrer.com\/public_html\/vendor\/magento\/framework\/App\/Bootstrap.php(256):
Magento\\Framework\\App\\Http->launch()\n#10 \/var\/www\/kimbrer.com\/public_html\/index.php(81):
Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http))\n#11 {main}","url":"\/ibm-59y5536.html","script_name":"\/index.php"}

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Var repport issues?

You need to give root permissions to your magento 2 instance , Login with SSH and go to Magento 2 root path,

 

Give below command Using CLI,

find app/code pub/static app/etc var/generation var/di var/view_preprocessed vendor \( -type f -or -type d \) -exec chmod u-w {} \; && chmod o-rwx app/etc/env.php && chmod u+x bin/magento

You  can also read documentation related to Permission by Magento own,

Magento 2 Ownership and permissions

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

View solution in original post

4 REPLIES 4

Re: Var repport issues?

Give proper filer and folder permission , i think your problem will be solved

Re: Var repport issues?

Hi again Smiley Happy


How can i do this ? 

Re: Var repport issues?

You need to give root permissions to your magento 2 instance , Login with SSH and go to Magento 2 root path,

 

Give below command Using CLI,

find app/code pub/static app/etc var/generation var/di var/view_preprocessed vendor \( -type f -or -type d \) -exec chmod u-w {} \; && chmod o-rwx app/etc/env.php && chmod u+x bin/magento

You  can also read documentation related to Permission by Magento own,

Magento 2 Ownership and permissions

If Issue Solved, Click Kudos/Accept As solutions. Get Magento insight from
Magento 2 Blogs/Tutorial

Re: Var repport issues?

Your post is a beacon of enlightenment! It's like discovering a guiding light amidst the labyrinth of the internet. I appreciate your efforts.