Artisan command says : Dotenv values containing spaces must be surrounded by quotes
You should remove all spaces from .env
file to make an app work again.
If you have to use spaces, instead of this:
VAR=some data
Use quotes:
VAR="some data"
Verify your .env file. You need to check for the following:
- Any extra or non-needed spaces
- If you have any strings with spaces, make sure to surround them in quotes
Example:
varaible=123 Test
Needs to be
varaible="123 Test"