mardi 2 octobre 2018

Sofa/eloquence Call to a member function make() on null

I am using Sofa/eloquence package

The problem is when I use search

$users = USER::search($input)->get();

I get this error

production.ERROR: Symfony\Component\Debug\Exception\FatalThrowableError: Call to a member function make() on null in /var/www/test/vendor/sofa/eloquence/src/Builder.php:77

I m using laravel 5.3, eloquence 5.3.3

I also already added this to config/app.php

Sofa\Eloquence\ServiceProvider::class,

Any ideas whats wrong?



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire