Magento 2 – Observer after order not work

In Magento 2, I try to add an observer sales_order_place_after and it doesn’t work. app/code/Vendor/Module/etc/event.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:Event/etc/events.xsd”> <event name=”sales_order_place_after”> <observer name=”vendor_module_order_place_after” instance=”Vendor\Module\Observer\OrderPlaceAfter” /> </event> </config> app/code/Vendor/Module/Observer/OrderPlaceAfter.php <?php namespace Vendor\Module\Observer; class OrderPlaceAfter implements \Magento\Framework\Event\ObserverInterface { protected $_logger; protected $_myObserverFactory; /** * @param \Psr\Log\LoggerInterface $_logger */ public function __construct( \Vendor\Module\Logger\Logger $logger, \Vendor\Module\Model\MyObserverFactory $myObserverFactory )…

Magento 1 – Debug magento backend variables

I added some checkboxes to the contact form. e.g. <input name=”katalogcheckbox[]” id=”katalog_1″ title=”Katalog für Insektenschutz bestellen” value=”katalog_A” type=”checkbox” class=”checkbox” /> <label for=”katalog_1″>Katalog für Insektenschutz bestellen</label> <br /> <input name=”katalogcheckbox[]” id=”katalog_2″ title=”Katalog für Fenstermontage bestellen” value=”katalog_B” type=”checkbox” class=”checkbox” /> <label for=”katalog_2″>Katalog für Fenstermontage bestellen</label> <br /> I added this to the transactional E-mail, to capture if…

Magento 2 Varnish cache compilation failed

I configuring the Varnish cache in Magento 2.3(CE), for that I’ve gone through the below link. https://www.emiprotechnologies.com/technical_notes/magento-technical-notes-60/post/magento2-install-and-configure-varnish-cache-with-https-in-ubuntu-641 So based on this, I have done everything in my localhost. Moreover, I am not using any HTTPS & SSL. Now my localhost URL as follows: http://127.0.0.1:8080. Then using the following commands, I am checking the Varnish status…

Magento 2 Varnish cache compilation failed

I configuring the Varnish cache in Magento 2.3(CE), for that I’ve gone through the below link. https://www.emiprotechnologies.com/technical_notes/magento-technical-notes-60/post/magento2-install-and-configure-varnish-cache-with-https-in-ubuntu-641 So based on this, I have done everything in my localhost. Moreover, I am not using any HTTPS & SSL. Now my localhost URL as follows: http://127.0.0.1:8080. Then using the following commands, I am checking the Varnish status…

Magento 2 Varnish cache compilation failed

I configuring the Varnish cache in Magento 2.3(CE), for that I’ve gone through the below link. https://www.emiprotechnologies.com/technical_notes/magento-technical-notes-60/post/magento2-install-and-configure-varnish-cache-with-https-in-ubuntu-641 So based on this, I have done everything in my localhost. Moreover, I am not using any HTTPS & SSL. Now my localhost URL as follows: http://127.0.0.1:8080. Then using the following commands, I am checking the Varnish status…