cancel
Showing results for 
Search instead for 
Did you mean: 

setup:di:compile error 2.4.3

setup:di:compile error 2.4.3

Hello, what kind of error is this? https://ibb.co/pvP3WvX

How can i fix it?

I got it after doing di:compile 

Regards

5 REPLIES 5

Re: setup:di:compile error 2.4.3

Hello @fabiotosca3261 ,

 

It looks like issue with Webkul Marketplace module, either it not compatible with your Magento version or some existing issue with their code.

The error says :

Your Constructor Arguments like

\Magento\InventorySalesApi\Api\Data\ProductSalabilityErrorInterfaceFactory

This location provided is wrong in the Webkul Model file that's why when constructing the class it gets zero arguments.

Please contact with Webkul support to give you updated module.

 

Hope it helps !!

 

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: setup:di:compile error 2.4.3

Here their answer.. https://ibb.co/0G2NX6f

I have to install inventory module. What do you think? Is it correct?

Regards

Re: setup:di:compile error 2.4.3

Hello @fabiotosca3261 ,

 

If you magento version is 2.4.3 then this file should be there, it is not able to pick factory class which could be due to permission issue with folders :

 

please first remove generated folder, give permission and them try again by below commands :

sudo rm -rf generated/
sudo chmod -R 777 var/ generated/
php bin/magento setup:di:compile

Let me know the results after this.

 

Problem Solved ? Click on 'Kudos' & Accept as Solution ! Smiley Happy

Re: setup:di:compile error 2.4.3

Hello, pls check the result: still having issues https://ibb.co/7Qtngcf

Thanks for your time

Re: setup:di:compile error 2.4.3

Hello, are you around? 

Developer told me that issue is that InventorySalesApi

is not installed. Any idea about how to do this?

Regards