i have installed Magento 2 of version
2.2.7 EE and
2.2.6 CE. After installing i am getting this error in frontend and admin panel as well.
Errors i am getting:
1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: 'D:/xampp/htdocs/mage227ee/vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml' in module: '' block's name: 'require.js'
My current System:-
- Windows 8
- XAMPP /php 7.1.26 /MariaDb 10.1 /Apache 2.4
- 8GB RAM
I have tried multiple attempts of command with:
- setup:static-content:deploy -f
Then i tried with the following approaches:
- composer update
- increased memory limit in index.php by adding
- increased memory limit in
.htaccessand other locations as well.
- No errors found in
Can anyone help me a on how to approach to solve it. thank you.