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 is coming after run php artisan command #433

Closed
piyushpatil027 opened this issue Dec 5, 2014 · 8 comments
Closed

Comments

@piyushpatil027
Copy link

Hello ,
I install Laravel-4-Generators package successfully but after i run php artisan command it is giving
exception 'BadMethodCallException' with message 'Call to undefined method [package]' in /usr/share/nginx/html/laravel_new/storage/framework/compiled.php:3561
Can you Solve this bug.
screenshot from 2014-12-05 15 09 56

@juukie
Copy link

juukie commented Dec 5, 2014

It's not a problem specific to Laravel-4-Generators. The package method has been removed from Illuminate\Support\ServiceProvider.

laravel/framework@3a0afc2

@piyushpatil027
Copy link
Author

I set Illuminate\Support\ServiceProvider on app/config.php in providers array then new PHP Fatal error:
is giving .
Cannot instantiate abstract class Illuminate\Support\ServiceProvider in /usr/share/nginx/html/laravel_new/storage/framework/compiled.php on line 5275

@juukie
Copy link

juukie commented Dec 5, 2014

Taylor is making changes to the configuration on the 5.0 version. You will have to wait till its ready.

@piyushpatil027
Copy link
Author

ok . thanks for reply .

@piyushpatil027
Copy link
Author

Yes . Problem is sovled . Thank you.

@piyushpatil027
Copy link
Author

New error is coming. He Cannot add foreign key constraint'.After creating Provit table.
screenshot from 2014-12-06 16 37 28

@morrislaptop
Copy link

I've developed a method to bridge packages across without modifying their source code, all you need to do is point to a bridging service provider which handles all the differences. Blog article at https://medium.com/@morrislaptop/bridging-laravel-4-packages-to-laravel-5-2081f19643c6 and the source code is at https://github.com/morrislaptop/LaravelFivePackageBridges

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

5 participants