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

Error in MailServiceProvider after update. #700

Closed
villimagg opened this issue Mar 26, 2013 · 2 comments
Closed

Error in MailServiceProvider after update. #700

villimagg opened this issue Mar 26, 2013 · 2 comments

Comments

@villimagg
Copy link

This happens when I do a composer update:

ErrorException: Notice: Undefined index: driver in /home/username/sites/myapp.dev/vendor/laravel/framework/src/Illuminate/Mail/MailServiceProvider.php line 79

@taylorotwell
Copy link
Member

Yep. Update your mail configuration file!

@yadakhov
Copy link

yadakhov commented Sep 4, 2013

I got the same error today and google led me here. I figure I write a comment to help others.

To resolve this issue:
Copy the latest code from laravel repo: https://raw.github.com/laravel/laravel/master/app/config/mail.php
into your application app/config/mail.php

The reason is that 'driver' was not an existing setting in an older version of Laravel. Using composer update only updates the class in the vendor folder but doesn't update your mail.php config file.

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