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
{{ message }}
Repository navigation
Warning: array_key_exists(): The first argument should be either a string or an integer in {redacted local path}\vendor\vlucas\phpdotenv\src\Environment\Adapter\EnvConstAdapter.php on line 29 #350
I just upgraded Laravel 5.7 to 5.8 and now I'm getting the following error whenever loading the site as well as in the terminal.
Warning: array_key_exists(): The first argument should be either a string or an integer in {redacted local path}\vendor\vlucas\phpdotenv\src\Environment\Adapter\EnvConstAdapter.php on line 29
Warning: array_key_exists(): The first argument should be either a string or an integer in {redacted local path}\vendor\vlucas\phpdotenv\src\Environment\Adapter\ServerConstAdapter.php on line 29
Not sure if this is helpful, but when I print_r($name) just before line 29 on these files here is the output.
It looks like you are calling env(null) somewhere, which is causing this warning. I might update the codebase to throw an exception so you can see a full stacktrace.
Activity
GrahamCampbell commentedon Mar 5, 2019
It looks like you are calling
env(null)somewhere, which is causing this warning. I might update the codebase to throw an exception so you can see a full stacktrace.GrahamCampbell commentedon Mar 5, 2019
@westernstatesflooring Please try with #351. This should show you were your bad function call is.
westernstatesflooring commentedon Mar 5, 2019
#351 created the exception report, found the stupid error in one of my config files. Thank you so much!