Bobcares

What to do for a laravel error in exception handler

by | Dec 28, 2019

Seeing a laravel error in exception handler? Here’s how we fix it.

Laravel is a free, open-source PHP web framework.

Here at Bobcares, we often receive requests regarding laravel as a part of our Server Management Services.

Today, let’s see how our Support Engineers fix this laravel error.

 

Why does the exception handler error occurs?

We’ve seen many of our customers experiencing this error in laravel. And this mainly occurs due to app/storage folder.

This is a common error message that we get when setting up laravel project for the first time.

We can easily fix this error by changing the owner of app/storage folder to ‘www-data’ and ensuring the permission is set to 755.

Now, let’s discuss how our Support Engineers fix this error.

 

How we fix laravel error in exception handler?

Having a decade of experience in managing servers, our Dedicated Engineers are familiar with the laravel errors. Now, let’s see how our Support Engineers fix this error.

Recently, one of our customers approached us with the below error message in laravel website.

laravel error in exception handler

He was receiving this error message on a blank white screen.

On checking the error our Support Engineers found the problem to be with the app/storage folder.

So we changed the owner of app/storage folder to ‘www-data’ which is the user that runs the web server (apache).

For that, we ran the below command.

sudo chown -R www-data:www-data app/storage

And then we made sure that the permission of the folder is set to 755.

For that, we ran the below command.

sudo chmod -R 755 app/storage

Finally, this fixed the error.

 

[Need any assistance with Laravel errors?- We’ll help you]

 

Conclusion

In short, laravel error in exception handler mainly occurs due to app/storage folder. Changing the owner of app/storage folder to ‘www-data’ and ensuring the permission is set to 755 will fix this error. Today, we saw how our Support Engineers fix this laravel error.

PREVENT YOUR SERVER FROM CRASHING!

Never again lose customers to poor server speed! Let us help you.

Our server experts will monitor & maintain your server 24/7 so that it remains lightning fast and secure.

GET STARTED

var google_conversion_label = "owonCMyG5nEQ0aD71QM";

0 Comments

Submit a Comment

Your email address will not be published. Required fields are marked *

Never again lose customers to poor
server speed! Let us help you.