Tag: magento 2

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): […]