skip to Main Content

I receive this error when i’m trying to import a list of sellers (custom module). I want to know what is the meaning of this error? and where should I start to fix the problem?
X Please enter a correct entity model.

PS: Please let me know if you need more info.

2

Answers


  1. In my, case i had parent::__consturct() in my __construc() method. Then the parent class is an abstract class. I think there is the error.

    public function __construct(
        MagentoFrameworkJsonHelperData $jsonHelper,
        MagentoImportExportHelperData $importExportData,
        MagentoImportExportModelResourceModelImportData $importData,
        MagentoEavModelConfig $config,
        ResourceConnection $resource,
        MagentoImportExportModelResourceModelHelper $resourceHelper,
        MagentoFrameworkStdlibStringUtils $string,
        ProcessingErrorAggregatorInterface $errorAggregator
    )
    {
        parent::__construct($jsonHelper, $importExportData, $importData, $config, $resource, $resourceHelper, $string, $errorAggregator);
    }
    

    Without parent::__construct() the error message disappear.

    Login or Signup to reply.
  2. a) Simply solution to reset the folder permission due to export/import file will be save in var/export or var/import folder.

    chmod -R 0777 var/
    

    b) Check the exception.log file in var/log

    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search