Linked Questions

0
votes
3answers
50 views

Magento 2 install new module commands [duplicate]

I am having problems installing my module in magento2 I copy my module to app/code and execute : php bin/magento setup:upgrade And then when I try to access my magento i get an empty page and ...
11
votes
3answers
29k views

Magento2 - setup:di:compile

I have been working in a project with some custom code... this is our first "medium" Magento 2 project, so (as all people here I think) every day we learn new things, and we have to change the way to ...
1
vote
6answers
4k views

Magento 2: Site not working after delete pub/static folder manually

I am running Magento 2.1 in developer mode. I manually deleted everything in the pub/static/ folder, and then ran the deploy command. I then cleared cache, I am now getting this error I can't solve? ...
2
votes
2answers
2k views

Generation of var/cache/ var/generation and var/di folders Magento2

I have a very simple question. Which magento commands cause the removal of var/cache/ var/generation/ var/di/ Folders and which bin/magento commands create them again.
2
votes
2answers
5k views

Magento2 - override 3rd party module layout file in custom theme

We have a custom theme with some layout / template overrides Now we have installed a 3rd party module, which is overriding one of layout files in our custom theme. So, only module's override is being ...
3
votes
2answers
2k views

Magento2: Change in di.xml

After making a change to app/etc/di.xml Am I required to take some additional steps in order for the change to take effect? Like clean cache, deploy static files or compile code?
2
votes
1answer
405 views

Hide add to Compare in category page beside add to cart [duplicate]

I have been able to remove every link to add to compare but I cant get the one away that is placed beside the add to cart button on the category page.
0
votes
2answers
602 views

Hello World Module Error

I am following Alan Storm's tutorial and am getting an error Controller: <?php namespace Pulsestorm\HelloWorldMVVM\Controller\Hello; use Magento\Framework\View\Result\PageFactory; use Magento\...
0
votes
2answers
697 views

Magento 2 plugin not calling the around function

I created a small module which has a plugin. This plugin must exchange a method with my own. But my plugin is never being called. I have been staring at this for a few hours. Can anyone help me ...
1
vote
3answers
681 views

Edit .phtml file without have to run setup:upgrade

I'm running on Magento 2 version 2.1.7, but everytime i change my .phtml file content i need to run php bin/magento setup:upgrade to see the change. I already set my magento 2 to developer mode
0
votes
2answers
634 views

Magento 2:- How to upload image in custom module in admin panel

Change the mode, then not working image preview got an error 404 image-preview.html Developer mode working fine, but production mode not working form page <field name="recipes_image"> <...
0
votes
1answer
309 views

How to override vendor theme in app/design folder magento 2?

We have one project which has a custom theme in vendor folder. Like vendor/{Vendor}/{custom-theme}/ vendor/{vendorname}/custom-theme/registration.php <?php \Magento\Framework\Component\...
1
vote
1answer
146 views

Although I use the correct namespace a wrong instance is passed to the constructor

I have a block php file. Block File Code: <?php namespace Vendor\SampleModule1\Block; use Magento\Framework\View\Element\Template; use Magento\Framework\View\Element\Template\Context; use Vendor\...
3
votes
1answer
89 views

Is there a fast way to flush cache and empty static folders using putty commands?

Is there a fast way to flush cache and empty static folders using putty commands? I am in developer mode and sometimes I dont know what I need to do so that the site updates my edits. Can one combine ...
1
vote
1answer
75 views

Why do i have to always run the commands to clean cache in Magento 2.1.8?

Whenever I make any change to CSS of my Magento store, it doesn't seem to be updated. I also tried to clean the cache from the Magento admin dashboard but it didn't work. Now I always have to run ...

15 30 50 per page