With laravel 5.4, singleton() should be used instead of share() in LaravelEasyrecServiceProvider and inside the controller I should add use Easyrec only...
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Non-static method Antoineaugusti\LaravelEasyrec\Easyrec::view() should not be called statically, assuming $this from incompatible context
Getting the error above along with Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Last edit: Stefano El-Khoury 2017-04-23
Issue got resolved.
With laravel 5.4, singleton() should be used instead of share() in LaravelEasyrecServiceProvider and inside the controller I should add use Easyrec only...
Thanks for sharing!