Skip to content

1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: '...vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml' in module: '' block's name: 'require.js'

Notifications You must be signed in to change notification settings

kanhaiya5590/Magento-2.3-after-installing-blank-screen

Repository files navigation

Tested with Magento v2.3.x till Magento 2.4.3-p1

Magento2.3 or greater version After installing getting blank screen or getting Exception

1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: '...vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml' in module: '' block's name: 'require.js'

In developer Mode - with Exception

Error Screenshot

Error Screenshot

In default Mode - blank screen or not loading all data

Error Screenshot

Error Screenshot

To fix apply shared patch

git apply kanhaiya5590-M2.3-black-gray-screen-issue.patch

Note: considering we downloaded the patch file on root of the project directory or updated path in command accordingly, when executing command

To revert the applied patch

git apply -R kanhaiya5590-M2.3-black-gray-screen-issue.patch

About

1 exception(s): Exception #0 (Magento\Framework\Exception\ValidatorException): Invalid template file: '...vendor/magento/module-theme/view/frontend/templates/page/js/require_js.phtml' in module: '' block's name: 'require.js'

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published