@devansh-webkul
For now error was fixed . I was created a package using Bagisto package generator so it's create a repository file like this.
<?php
namespace Webkul\ProductFaq\Repositories;
use Webkul\Core\Eloquent\Repository;
class ProductFaqRepository extends Repository
{
/**
* Specify Model class name
*
* @return mixed
*/
function model()
{
return 'Webkul/ProductFaq/Contracts/ProductFaq';
}
}
But solution is that we have to write backward slash for return model like this
function model()
{
return 'Webkul\ProductFaq\Contracts\ProductFaq';
}