antonioribeiro / sqli

A Laravel Artisan SQL Interactive Interface
BSD 3-Clause "New" or "Revised" License
60 stars 5 forks source link

Cannot call abstract method Illuminate\Support\ServiceProvider::register() #2

Open carcinocron opened 10 years ago

carcinocron commented 10 years ago

I'm on Laravel 4.2 btw. This packagist never worked, but I left it installed then suddenly it started causing this exception. Removing it fixed this problem:

PHP Fatal error:  Cannot call abstract method Illuminate\Support\ServiceProvider::register() in /home/michael/www/sae/vendor/pragmarx/sqli/src/Vendor/Laravel/ServiceProvider.php on line 92
PHP Stack trace:
PHP   1. {main}() /home/michael/www/sae/artisan:0
PHP   2. require_once() /home/michael/www/sae/artisan:30
PHP   3. require() /home/michael/www/sae/bootstrap/start.php:95
PHP   4. Illuminate\Foundation\ProviderRepository->load() /home/michael/www/sae/vendor/laravel/framework/src/Illuminate/Foundation/start.php:210
PHP   5. Illuminate\Foundation\Application->register() /home/michael/www/sae/vendor/laravel/framework/src/Illuminate/Foundation/ProviderRepository.php:81
PHP   6. PragmaRX\SqlI\Vendor\Laravel\ServiceProvider->register() /home/michael/www/sae/vendor/laravel/framework/src/Illuminate/Foundation/Application.php:317
{"error":{"type":"Symfony\\Component\\Debug\\Exception\\FatalErrorException","message":"Cannot call abstract method Illuminate\\Support\\ServiceProvider::register()","file":"\/home\/michael\/www\/sae\/vendor\/pragmarx\/sqli\/src\/Vendor\/Laravel\/ServiceProvider.php","line":92}}
antonioribeiro commented 10 years ago

Were you using dev-master on composer.json?