First it might sound stupid to have NOVA_PATH empty, I have just git pulled, and copied .env.example to .env set few environments and forgot NOVA_PATH and I got 500 server error, after digging I found that it's because NOVA_PATH is null.
When an empty NOVA_PATH is provided, Nova should thrown an exception with meaningful error message .
Currently it gives:
Trying to access array offset on value of type bool
That's because Laravel\Nova\Util tries to access isset($uri['port']) on line 34
Detailed steps to reproduce the issue on a fresh Nova installation:
Description:
First it might sound stupid to have
NOVA_PATH
empty, I have just git pulled, and copied .env.example to .env set few environments and forgot NOVA_PATH and I got 500 server error, after digging I found that it's because NOVA_PATH is null.When an empty
NOVA_PATH
is provided, Nova should thrown an exception with meaningful error message .Currently it gives:
That's because
Laravel\Nova\Util
tries to accessisset($uri['port'])
on line 34Detailed steps to reproduce the issue on a fresh Nova installation:
/
url.