Category: Magento2

Disable newsletter subscription for guests from Magento 2 admin

If you do not want your guests on Magento2 store to be able to subscribe to the newsletter or you are facing spam bots registering on store, follow below steps from your store admin to disable the same. After installing a Magento2 store recently, I started facing issues with spam newsletter subscription and obviously it […]

Magento2 – Invalid template file issue

If you have installed a fresh copy of Magento2 or upgrading Magento2 from 2.2.5 to 2.2.6 or higher, you may see below issue: 1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: ‘Magento_Backend::page/js/require_js.phtml’ in module: ‘Magento_Backend’ block’s name: ‘require.js’Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: ‘Magento_Backend::page/js/require_js.phtml’ in module: ‘Magento_Backend’ block’s name: ‘require.js’ 0 /vendor/magento/framework/View/Element/Template.php(300): Magento\Framework\View\Element\Template->fetchView(false) 1 /vendor/magento/framework/View/Element/AbstractBlock.php(667): […]