Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [dicompilation]

The tag has no usage guidance.

4
votes
3answers
1k views

Magento2 which command Run and when to Run

Kindly Clear Difference Between php bin/magento cache:flush and cache:clean and when they need to Run . which tasks Output to need cache:flush or clean ** and which task need these Commands => **di:...
0
votes
1answer
27 views

Why do we use bin/magento setup:di:compile

I know why we use bin/magento setup:upgrade and bin/magento setup:static-content:deploy It is recommended on many blogs and forums that we need to execute bin/magento setup:di:compile after upgrade ...
1
vote
1answer
56 views

Magento 2.2.5 : Runtime Exception during setup:di:compile

The issue started when I was attempting to enter production mode with php bin/magento deploy:mode:set production Upon researching the issue, I attempted to see if the error gave more information ...
2
votes
0answers
24 views

Magento 2 : Most of the Links are not working after upgrade and compile in magento 2

Most of the Links are not working after upgrade and compile in magento 2.1 Like wish list, Add to Compare, edit/Delete product on cart page, Compare menu etc. Is there any solution ? The href ...
2
votes
2answers
7k views

Magento 2.2 Incompatible argument type

I have compilation issue on my custom module. Code works properly in magento 2.1 but in magento 2.2 it's shows error at compilation like this Incompatible argument type: Required type: \Magento\...
0
votes
2answers
754 views

Magento 2 error when run php bin/magento setup:di:compile

I am using magento 2.1.5 when i change developer to production mode got the error like this Enabled maintenance mode Starting compilation Something went wrong while compiling generated code. See ...