-
Notifications
You must be signed in to change notification settings - Fork 1.4k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
"Error: Undefined array key "host" - "mongodb/laravel-mongodb": "v4.0.0-ALPHA1" #2621
Comments
Was a mistake from me so not a problem but I can't delete the post. Thank you |
Note that you can upgrade to 4.0.0-rc1.
No worries. What was your mistake and the solution if someone else have this problem. Sometime we can improve error messages. |
I have the same problem, can you explain this issue for me? |
In your configuration, you must provide either |
Description:
Steps to reproduce
Expected behaviour
I should get a new object in my database.
Actual behaviour
First, I never had to specify a 'host' with laravel 9 and jenssegers/mongodb but now i got ' "Error: Undefined array key "host""'.
So i have tried to had a host in my database config.
Then, when I try another time to postTestForm with the host added I got a return 'success test has been successfully created' but nothing is created in my database.
I have tried with v4.0.0-ALPHA1 and v4.0.0-ALPHA2.
I don't have this problem with laravel 9 and jenssegers package.
The text was updated successfully, but these errors were encountered: