Skip to content

Tag: magento2

does not extend MagentoFrameworkDataObject

I have exception when I ceate model.Here is that exception: Magento version is 2.4.4 Training4VendorModelTraining4_Vendor2Product Training4VendorModelResourceModelTraining4_Vendor2Product Training4VendorModelResourceModelTraining4_Vendor2ProductCollection in Training4VendorModelTraining4_Vendor2Product,I have…

Custom ViewModel is not found

Whenever I try to use my own custom ViewModel the module stops working. Error: main.CRITICAL: Class LithContactsViewModelAdditionalInfo does not exist [] [] The file structure is simple: Inside the viewfrontendlayout I created a file contact_index_index.xml Where I defined a new block inside a referenceContai…