Level 18
Jan 22, 2015
1
Level 30
php artisan cashier error
After i installed laravel cashier for L5 i get this error message if i run php artisan cashier:table users
I added the Serviceprovider to my config.php
php artisan cashier:table users
exception 'BadMethodCallException' with message 'Call to undefined method [package]' in /home/vagrant/code/isp/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:140
Stack trace:
#0 /home/vagrant/code/isp/vendor/laravel/cashier/src/Laravel/Cashier/CashierServiceProvider.php(21): Illuminate\Support\ServiceProvider->__call('package', Array)
#1 /home/vagrant/code/isp/vendor/laravel/cashier/src/Laravel/Cashier/CashierServiceProvider.php(21): Laravel\Cashier\CashierServiceProvider->package('laravel/cashier')
#2 [internal function]: Laravel\Cashier\CashierServiceProvider->boot()
#3 /home/vagrant/code/isp/vendor/laravel/framework/src/Illuminate/Container/Container.php(523): call_user_func_array(Array, Array)
#4 /home/vagrant/code/isp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(602): Illuminate\Container\Container->call(Array)
#5 /home/vagrant/code/isp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(584): Illuminate\Foundation\Application->bootProvider(Object(Laravel\Cashier\CashierServiceProvider))
#6 [internal function]: Illuminate\Foundation\Application->Illuminate\Foundation\{closure}(Object(Laravel\Cashier\CashierServiceProvider), 19)
#7 /home/vagrant/code/isp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(585): array_walk(Array, Object(Closure))
#8 /home/vagrant/code/isp/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/BootProviders.php(15): Illuminate\Foundation\Application->boot()
#9 /home/vagrant/code/isp/vendor/laravel/framework/src/Illuminate/Foundation/Application.php(151): Illuminate\Foundation\Bootstrap\BootProviders->bootstrap(Object(Illuminate\Foundation\Application))
#10 /home/vagrant/code/isp/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(180): Illuminate\Foundation\Application->bootstrapWith(Array)
#11 /home/vagrant/code/isp/vendor/laravel/framework/src/Illuminate/Foundation/Console/Kernel.php(89): Illuminate\Foundation\Console\Kernel->bootstrap()
#12 /home/vagrant/code/isp/artisan(34): Illuminate\Foundation\Console\Kernel->handle(Object(Symfony\Component\Console\Input\ArgvInput), Object(Symfony\Component\Console\Output\ConsoleOutput))
#13 {main}
Please or to participate in this conversation.