You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
i use laravel 11 as WEB API Backend for a VUE SPA App
the development machine is a WIN11 with XAMPP. Production is Debian with Apache
since i upgrade from 10 o 11, it happens sometimes, that i loose the app_key or other config settings.
i debugged til support/env.php
return Option::fromValue(static::getRepository()->get($key))
->map(function ($value) {
switch (strtolower($value)) {
case 'true':
case '(true)':`
It's incredibly annoying because the backend with Laravel crashes with "app_key missing" when there are a lot of requests from the client. How can something like this happen - I don't understand it.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
i use laravel 11 as WEB API Backend for a VUE SPA App
the development machine is a WIN11 with XAMPP. Production is Debian with Apache
since i upgrade from 10 o 11, it happens sometimes, that i loose the app_key or other config settings.
i debugged til support/env.php
the uncommented lines are from me.
` protected static function getOption($key)
{
// if ($key == "APP_KEY"){
// $t = static::getRepository()->get($key);
// if ($t == null){
// echo "<<<<" . $key . ' : '. $t . ">>>>>>";
// }
// }
It's incredibly annoying because the backend with Laravel crashes with "app_key missing" when there are a lot of requests from the client. How can something like this happen - I don't understand it.
Beta Was this translation helpful? Give feedback.
All reactions