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

Laravel5 issue #32

Open
ChristopherDosin opened this issue Jan 13, 2015 · 12 comments
Open

Laravel5 issue #32

ChristopherDosin opened this issue Jan 13, 2015 · 12 comments

Comments

@ChristopherDosin
Copy link

If i run php artisan config:publish hugofirth/mailchimp i get this error

vagrant@homestead:~/code/dmc$ php artisan config:publish hugofirth/mailchimp
exception 'BadMethodCallException' with message 'Call to undefined method [package]' in /home/vagrant/code/dmc/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:140
Stack trace:
@ghost
Copy link

ghost commented Feb 11, 2015

is this resolved?

@skovmand
Copy link

No it is not. Any way to solve it?

@ChristopherDosin
Copy link
Author

maybe php artisan vendor:publish ?

@skovmand
Copy link

I tried
php artisan vendor:publish --provider="MailchimpServiceProvider"

Same problem occurs:
exception 'BadMethodCallException' with message 'Call to undefined method [package]' in /home/vagrant/Code/traeningsprojekt.dk/l5site/storage/framework/compiled.php:4351
Running Laravel 5.0.1

@Halpha
Copy link

Halpha commented Feb 12, 2015

As I see the problem is: $this->package('hugofirth/mailchimp'); in the MailchimpServiceProvider boot method. So I think this logic is changed..

@Halpha
Copy link

Halpha commented Feb 12, 2015

And as I see, the config files are changed to objects and the config file in in mailchimp is still an array.

@ChristopherDosin
Copy link
Author

Oh - also the mailchimp/mailchimp package does not longer exist 👎

@Halpha
Copy link

Halpha commented Feb 12, 2015

Hm, the mailchim\mailchimp package was no problem on my side. But I have to say that I use the dev-master version in my composer.json.

@skovmand
Copy link

The mailchimp/mailchimp package still exists.

@skovmand
Copy link

I did my own package for using Mailchimp in L5, if you are interested: https://packagist.org/packages/skovmand/mailchimp-laravel

@Halpha
Copy link

Halpha commented Feb 17, 2015

Thanks @skovmand - I love it:-)

@hugofirth
Copy link
Owner

Hi Guys, I just wanted to jump in here and say that I have seen this. Unfortunately I am completely flat out at the moment and so haven't had time for any php dev of late. These kind of issues were why I never tagged a release for L5, as I haven't done testing.

Good news is though, that my deadline for this craziness is just around the corner. I'd like to give this package some love, as it does seem that there is an interest in it. Watch this space, in the meantime, if you're on L5 then other packages like the one by @skovmand will probably be the way to go.

Or ... you know.... if anyone wanted to make a PR 😄

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

4 participants