Support the ongoing development of Laravel.io →
posted 9 years ago
Requests
Last updated 2 years ago.
0

Is the values of Key and Cipher in app.php set up correctly? That's the usual cause of that error message, not sure why it won't fail on it every time thou.

0

Yes, everything was set correctly. The env() function is corrupted. I had to change all env() in config files to hard coded settings.

Last updated 9 years ago.
0

I have the same issue. When refreshing the page fast

0

Hi,

Try using artisan config:cache.

This is not the permanent fix for your issue but it is way better than hard coding config files.

What this does is, it creates a cached version of your config file and store it in bootstrap/cache folder, so the laravel can load it directly rather than compiling the config file from .env file.

if you are interested in this issue you may lookup following github issues

https://github.com/laravel/framework/issues/7354 https://github.com/laravel/framework/issues/10015#issuecomment-133684112 https://github.com/laravel/framework/issues/9824

thanks

0

Sign in to participate in this thread!

Eventy

Your banner here too?

styryl styryl Joined 26 Jun 2015

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.