Question
The environment file is invalid: Dotenv values containing spaces must be surrounded by quotes
Hello everyone I need help regarding this error message: “The environment file is invalid: Dotenv values containing spaces must be surrounded by quotes”
I just finished setting up environment for my app according to the request of the wizard installer of the app. I input things like database credentials, mail credentials, google client ID and others. After that, upon visiting my website, I found this error. That made me to remember that when I was filling the forms, I spaced out my username when entering the mail credentials, so I don’t know if that is part of my problem now.
So, how do I access the Dotenv file according to the error instruction to check the files with spaces and correct them? OR
Which command will I use to get rid of this once and for all?
In fact, how do I solve this problem?
Thanks, everyone. looking forward to hearing from you.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
×