Skip to content
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

Invalid argument supplied for foreach() after install #19

Closed
giuliogatto opened this issue Feb 12, 2019 · 2 comments
Closed

Invalid argument supplied for foreach() after install #19

giuliogatto opened this issue Feb 12, 2019 · 2 comments

Comments

@giuliogatto
Copy link

Hello, everything looks fine when following your install instructions on Mac OS Mojave, including running the migrations, but when I try and check if the App is working, without any change to the code I get a:
PHP Warning – yii\base\ErrorException
Invalid argument supplied for foreach()

screenshot 2019-02-12 at 10 31 17

This could be config related, but I haven't changed anything in config/web.php
What could be causing this error?

mikehaertl added a commit that referenced this issue Feb 12, 2019
@mikehaertl
Copy link
Collaborator

mikehaertl commented Feb 12, 2019

I'm sorry, you were hit by a typo that I just checked in yesterday. In config/web.php it should be $bootstrap. I've pushed a fix but you probably should change that manually in your setup.

@giuliogatto
Copy link
Author

Allright! I can see that now in line 27:
'bootstrap' => $bootsrap,
should be
'bootstrap' => $bootstrap,
Thank you for the quick answer!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants