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

Fatal error after 'composer update' #19

Closed
mediaholding opened this issue Aug 4, 2014 · 2 comments
Closed

Fatal error after 'composer update' #19

mediaholding opened this issue Aug 4, 2014 · 2 comments

Comments

@mediaholding
Copy link

Hi!

After your last update (~20 min ago) Composer rise a fatal error:

Generating autoload files
{"error":{"type":"ErrorException","message":"Argument 1 passed to Cartalyst\Sentinel\Laravel\SentinelServiceProvider::configHitsLottery() must be of the type array, null given, called in /Users/User/Sites/Site/vendor/cartalyst/sentinel/src/Laravel/SentinelServiceProvider.php on line 405 and defined","file":"/Users/User/Sites/Site/vendor/cartalyst/sentinel/src/Laravel/SentinelServiceProvider.php","line":417}}{"error":{"type":"ErrorException","message":"Argument 1 passed to Cartalyst\Sentinel\Laravel\SentinelServiceProvider::configHitsLottery() must be of the type array, null given, called in /Users/User/Sites/Site/vendor/cartalyst/sentinel/src/Laravel/SentinelServiceProvider.php on line 405 and defined","file":"/Users/User/Sites/Site/vendor/cartalyst/sentinel/src/Laravel/SentinelServiceProvider.php","line":417}}{"error":{"type":"ErrorException","message":"Argument 1 passed to Cartalyst\Sentinel\Laravel\SentinelServiceProvider::configHitsLottery() must be of the type array, null given, called in /Users/User/Sites/Site/vendor/cartalyst/sentinel/src/Laravel/SentinelServiceProvider.php on line 405 and defined","file":"/Users/User/Sites/Site/vendor/cartalyst/sentinel/src/Laravel/SentinelServiceProvider.php","line":417}}

Rollback from master-dev to 1.0.* did not help.

Please fix this issue.

@GrahamCampbell
Copy link
Contributor

You need to publish your config file again. It's changed since you must have last published it.

https://github.com/cartalyst/sentinel/commits/master/src/config/config.php

@brunogaspar
Copy link
Member

You probably have an old Sentinel config file, try to run php artisan config:publish cartalyst/sentinel.

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

3 participants