After deploy on VDS
I get error
Call to undefined method Illuminate\Database\Query\Builder::post_views()
this is my code, works great on Local PC
use Voerro\Laravel\VisitorTracker\Models\Visit;
use Voerro\Laravel\VisitorTracker\Facades\VisitStats;
public function views()
{
return Visit::post_views($this->id);
}
After deploy on VDS I get error Call to undefined method Illuminate\Database\Query\Builder::post_views() this is my code, works great on Local PC