Error filtering template: Invalid template file in module

I have this issue and I don’t know how to solve it. My phtml file is under: app/design/frontend/rwd/josefsteiner/template/home.phtml and i tried to include this phtml file into my CMS site like this: But i get always this error: Error filtering template: Invalid template file: ‘rwd_josefsteiner::home.phtml’ in module: ” block’s name: ‘magento\framework\view\element\template_0’ how to fix this…

Magento2 – How to override this file Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Options.php

How to override this file in Magento2 Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Options This code is in my di.xml <?xml version=”1.0″?> <config xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance” xsi:noNamespaceSchemaLocation=”urn:magento:framework:ObjectManager/etc/config.xsd”> <preference for=”Magento\Bundle\Block\Catalog\Product\View\Type\Bundle\Options” type=”Magentoo\Bundle\Block\Catalog\Product\View\Type\Bundle\Option” /> </config>

Cron Error Magento 2: Please set a website ID

I have custom cron, which initially had an error: Please set a website ID. I got rid of this issue by doing below: $this->emulation->startEnvironmentEmulation($store_id, \Magento\Framework\App\Area::AREA_FRONTEND, true); //my code $this->emulation->stopEnvironmentEmulation(); Then after some time on the server, I had an error: Process went away at 2020-02-09 12:19:06 (supposed time) This issue was solved by simply removing…

Add new value in Action for Catalog Price Rule Magento 1.9

I need to add new value in action dropdown So I have copied the related file in the local code pool. app/code/local/Mage/Adminhtml/Block/Promo/Catalog/Edit/Tab/Actions.php $fieldset->addField(‘sub_simple_action’, ‘select’, array( ‘label’ => Mage::helper(‘catalogrule’)->__(‘Apply’), ‘name’ => ‘sub_simple_action’, ‘options’ => array( ‘by_percent’ => Mage::helper(‘catalogrule’)->__(‘By Percentage of the Original Price’), ‘by_fixed’ => Mage::helper(‘catalogrule’)->__(‘By Fixed Amount’), ‘to_percent’ => Mage::helper(‘catalogrule’)->__(‘To Percentage of the Original Price’),…