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
We set $requestUrl = false; at line 96 in platformsh-laravel-env.php. $requestUrl is then used as the needle in strpos() at line 105. If $_SERVER['SERVER_NAME'] is not set, requestUrl remains false. In versions of PHP before 8, a deprecation notice is triggered, but the code will still function. However, from PHP8 onward, this throws a fatal error.
The text was updated successfully, but these errors were encountered:
gilzow
added a commit
to gilzow/laravel-bridge
that referenced
this issue
Jan 26, 2022
We set
$requestUrl = false;
at line 96 in platformsh-laravel-env.php.$requestUrl
is then used as the needle instrpos()
at line 105. If$_SERVER['SERVER_NAME']
is not set,requestUrl
remainsfalse
. In versions of PHP before 8, a deprecation notice is triggered, but the code will still function. However, from PHP8 onward, this throws a fatal error.The text was updated successfully, but these errors were encountered: