JeffreyWay / Laravel-4-Generators

Rapidly speed up your Laravel workflow with generators
https://packagist.org/packages/way/generators
MIT License
27 stars 9 forks source link

BadMethodCallException is coming after run php artisan command #433

Closed piyushpatil027 closed 9 years ago

piyushpatil027 commented 9 years ago

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 commented 9 years ago

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

https://github.com/laravel/framework/commit/3a0afc20f25ad3bed640ff1a14957f972d123cf7

piyushpatil027 commented 9 years ago

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 commented 9 years ago

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

piyushpatil027 commented 9 years ago

ok . thanks for reply .

RandyBooth commented 9 years ago

https://laracasts.com/discuss/channels/general-discussion/l5-latest-commit-breaks-if-using-waygenerators-or-image-internvention

piyushpatil027 commented 9 years ago

Yes . Problem is sovled . Thank you.

piyushpatil027 commented 9 years ago

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

morrislaptop commented 9 years ago

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