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)
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...
Hello, I just installed Easyrec with Laravel 5.4. I faced some issues during the installation (i guess because of compatibiltiy). I followed the steps mentioned in installation guide but had to uncomment the register method from LaravelEasyrecServiceProvider.php because it is using the share() method which is deprecated in Laravel 5.4. Anyway I installed easyrec locally and everything seemed to be up and running. Then in one of my controllers I added Easyrec::view($itemid, $itemdescription, $itemurl,...