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

[BadMethodCallException] Call to undefined method [package] #17

Closed
inhedron opened this issue Dec 29, 2015 · 2 comments
Closed

[BadMethodCallException] Call to undefined method [package] #17

inhedron opened this issue Dec 29, 2015 · 2 comments

Comments

@inhedron
Copy link

Hi,
when i try to run php artisan localization:missing i got an error like that:
[BadMethodCallException] Call to undefined method [package]

it looks like the package() method was deleted from src/Illuminate/Config/Repository.php in this commit:

laravel/framework@64c15a3

Can you fix ?

@potsky
Copy link
Owner

potsky commented Dec 29, 2015

Hi !

Since which version the package method has been removed ? Since version 5.2.5 ?

Do I just have to remove this method from the service provider boot method to make it work for Laravel >= v5.2.5 ?

Are you sure you are using v1.3.2 and not the dev-master version ?

I cannot test L5 before next week... so I can only make a blind fix for the moment if you tell me what to do :-)

@potsky
Copy link
Owner

potsky commented Dec 29, 2015

Ok found...

The documentation is not up to date !

There is a special service provider to load for Laravel 5.

Please read the documentation of the last Tag available here : https://github.com/potsky/laravel-localization-helpers/blob/v1.3.2/README.md

@potsky potsky closed this as completed Dec 29, 2015
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

1 participant