Skip to content
Advertisement

does not extend MagentoFrameworkDataObject

I have exception when I ceate model.Here is that exception:

JavaScript

Magento version is 2.4.4 Training4VendorModelTraining4_Vendor2Product

JavaScript

Training4VendorModelResourceModelTraining4_Vendor2Product

JavaScript

Training4VendorModelResourceModelTraining4_Vendor2ProductCollection

JavaScript

in Training4VendorModelTraining4_Vendor2Product,I have already extends MagentoFrameworkModelAbstractModel,I don’t know why that exception occur

Advertisement

Answer

did you add dependency in di.xml

JavaScript
User contributions licensed under: CC BY-SA
7 People found this is helpful
Advertisement