Skip to main content

Questions tagged [dicompilation]

Filter by
Sorted by
Tagged with
0 votes
1 answer
48 views

Argument 5 passed to Vendor\Module\Model\ResourceModel\PriceResult\Collection\Interceptor::__construct()

I have created a custom module and it's working fine,if I only run php bin/magento setup:upgrade command. However, when I attempt to run php bin/magento s:d:c it raises an exception. Type Error ...
Bushra's user avatar
  • 62
1 vote
1 answer
4k views

Deprecated Functional error on Magento 2.4.5

I'm getting following error while compiling magento 2.4.5 which is newly upgraded from Magento 2.4.3 Deprecated Functionality: Zend_Http_UserAgent implements the Serializable interface, which is ...
amith lal's user avatar
  • 790
0 votes
1 answer
210 views

missing AdapterFactory Error during sub menu open

I have facing this issue during sub menu navigation part open ,rest all website work fine. Current version :.4.2 ,apache 7.4 . you can check online, the link is https://primalsupplements.co.nz/...
vikram singh's user avatar
0 votes
3 answers
375 views

Error during compilation after upgrade from 2.4.1 to 2.4.2

I have below error while running php bin/magento setup:di:compile Compilation was started. Repositories code generation... 1/9 [==>----------------] 11% < 1 sec 105.0 MiB Interception cache ...
kiran's user avatar
  • 597
0 votes
1 answer
627 views

ReflectionException Class Mirasvit\Core\Model\ModuleFactory does not exist, when running setup:di:compile or setup:upgrade

I received the following error when I run the command php bin/magento setup:di:compile Error [ReflectionException] Class Mirasvit\Core\Model\ModuleFactory does not exist The extension provider ...
Mage Explorer's user avatar
0 votes
2 answers
231 views

Error in compilation

I am trying to install this extension. When I tried to run php bin/magento setup:di:compile command I got Missed required argument resultPageFactory in parent::__construct call. error. How can I pass ...
abu abu's user avatar
  • 754
2 votes
3 answers
733 views

Should we set magento to maintenance mode before setup:upgrade and setup:di:compile?

Does executing setup:upgrade or setup:di:compile cause any problems if I execute it in production? I fear that my customers will see errors after I call these commands.
Black's user avatar
  • 3,431
0 votes
2 answers
154 views

Magento 2 - Incompatible argument type, even though constructor parent call matches extended class

I try to extend this class from my own module, because I need to inject another dependency to the constructor and add a few new methods: vendor\aheadworks\module-wbtab\Block\Wbtab\ProductList.php ...
Black's user avatar
  • 3,431
8 votes
3 answers
2k 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:...
HaFiz Umer's user avatar
  • 1,690
0 votes
2 answers
717 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 ...
Atif Ameer's user avatar
1 vote
1 answer
88 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 ...
David A.'s user avatar
2 votes
0 answers
35 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 ...
Mahendra's user avatar
  • 716
5 votes
2 answers
16k 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\...
Rahul's user avatar
  • 749
0 votes
2 answers
2k 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 ...
Jjo's user avatar
  • 1,178