You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'm receiving the following error trying to make a conversion under Laravel 5:
exception 'BadMethodCallException' with message 'Call to undefined method [package]' in /var/www/xxxxxxx/src/vendor/laravel/framework/src/Illuminate/Support/ServiceProvider.php:226
I ran into this issue on Laravel 5 as well, a temporary fix is to create a Service Provider like this https://gist.github.com/alexking/79655a8be2ae6360dc20 in app/Providers, and reference that in config/app.php (App\Providers\ConversionServiceProvider).
I'd just do this as a pull request, but I'm not sure that it works with Laravel 4 - basically I just removed the package call, and moved the alias out of the booting callback.
I'm receiving the following error trying to make a conversion under Laravel 5:
Looks like the
package
method is no longer available on the service provider. This article might help:https://medium.com/@morrislaptop/bridging-laravel-4-packages-to-laravel-5-2081f19643c6
The text was updated successfully, but these errors were encountered: