Magento 2.3 problems on local server












5















I'm trying to install a Magento 2.3 instance to my localhost(WAMP server) but after installation process(I use a command line to install) not Admin part or storefront part works correctly. It shows a lot of errors in a browser console and doesn't load Admin part at all and front part only partly. I'm using PHP 7.2.4 but also tried to use 7.1.16(it provides the same result).
enter image description here



And a log file says:



[2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'  
[2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
[2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
[2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
[2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
[2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
[2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
[2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
[2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
[2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
[2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'


Any idea what is wrong?










share|improve this question





























    5















    I'm trying to install a Magento 2.3 instance to my localhost(WAMP server) but after installation process(I use a command line to install) not Admin part or storefront part works correctly. It shows a lot of errors in a browser console and doesn't load Admin part at all and front part only partly. I'm using PHP 7.2.4 but also tried to use 7.1.16(it provides the same result).
    enter image description here



    And a log file says:



    [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'  
    [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
    [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
    [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
    [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
    [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
    [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
    [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
    [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
    [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
    [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'


    Any idea what is wrong?










    share|improve this question



























      5












      5








      5


      1






      I'm trying to install a Magento 2.3 instance to my localhost(WAMP server) but after installation process(I use a command line to install) not Admin part or storefront part works correctly. It shows a lot of errors in a browser console and doesn't load Admin part at all and front part only partly. I'm using PHP 7.2.4 but also tried to use 7.1.16(it provides the same result).
      enter image description here



      And a log file says:



      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'  
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'


      Any idea what is wrong?










      share|improve this question
















      I'm trying to install a Magento 2.3 instance to my localhost(WAMP server) but after installation process(I use a command line to install) not Admin part or storefront part works correctly. It shows a lot of errors in a browser console and doesn't load Admin part at all and front part only partly. I'm using PHP 7.2.4 but also tried to use 7.1.16(it provides the same result).
      enter image description here



      And a log file says:



      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'  
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:06] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:10] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/require_js.phtml' in module: 'Magento_Backend' block's name: 'require.js'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/wysiwyg/active_editor.phtml' in module: 'Magento_Ui' block's name: 'theme.active.editor'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-translation/view/base/templates/translate.phtml' in module: 'Magento_Translation' block's name: 'translate'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/components.phtml' in module: '' block's name: 'head.components'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/js/calendar.phtml' in module: '' block's name: 'head.calendar'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-ui/view/base/templates/logger.phtml' in module: 'Magento_Ui' block's name: 'logger'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/header.phtml' in module: 'Magento_Backend' block's name: 'logo'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/admin/login.phtml' in module: 'Magento_Backend' block's name: 'admin.login'
      [2018-11-30 09:31:11] main.CRITICAL: Invalid template file: 'C:/wamp/www/magento/theme_23_final/vendor/magento/module-backend/view/adminhtml/templates/page/copyright.phtml' in module: 'Magento_Backend' block's name: 'copyright'


      Any idea what is wrong?







      magento2 magento2.3






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Nov 30 '18 at 10:26









      Arunendra

      6,06331642




      6,06331642










      asked Nov 30 '18 at 9:27









      Alexander GrosulAlexander Grosul

      1286




      1286






















          3 Answers
          3






          active

          oldest

          votes


















          7














          Yes, This is the problem with windows. Windows uses "" as separator, the array "directories" contains entries with "/" as separator, so the check will always fail.



          So you need to fix this by replacing the separator in core file:



          MagentoFrameworkViewElementTemplateFileValidator


          function isPathInDirectories replace below code in isPathInDirectories function



          $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path));





          share|improve this answer
























          • This resolved the problem, thanks. I think this must be fixed in the core as fast as possible

            – Alexander Grosul
            Nov 30 '18 at 13:03











          • This shouldn't be used. This is duplicating str_replace call that is written in isValid method in the same class.

            – revo
            Nov 30 '18 at 18:25













          • This is a quick fix and may be Magento will provide a patch to fix this issue.

            – Saurabh Dwivedi
            Dec 1 '18 at 11:49











          • Yes but there is a better quick fix here.

            – revo
            Dec 1 '18 at 20:50











          • @SaurabhDwivedi Which file need to edit? Which file consists $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path)); ?

            – zus
            Dec 10 '18 at 7:22



















          0














          I have resolved this issue, yesterday on same version : run this query in your db.



          INSERT INTO core_config_data (path, value) VALUES ('dev/static/sign', 0)
          ON DUPLICATE KEY UPDATE value = 0;


          Then run following command :



           bin/magento cache:clean 


          In case if its not work you can see more solutions over here






          share|improve this answer



















          • 1





            Thanks for the response but it doesn't help me. I'm not sure that this cases are the same

            – Alexander Grosul
            Nov 30 '18 at 10:55











          • I am facing the same problem.

            – Balaji Birajdar
            Dec 31 '18 at 8:20



















          0














          This issue is from windows machine. Remove antivirus and allow firewall rules. Then add file/folders permissions.
          Win command:
          takeown /F E:/xampp/htdocs/mage23 /R



          Now install magento V2.3.0






          share|improve this answer








          New contributor




          Pallab Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
          Check out our Code of Conduct.




















            Your Answer








            StackExchange.ready(function() {
            var channelOptions = {
            tags: "".split(" "),
            id: "479"
            };
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function() {
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled) {
            StackExchange.using("snippets", function() {
            createEditor();
            });
            }
            else {
            createEditor();
            }
            });

            function createEditor() {
            StackExchange.prepareEditor({
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader: {
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            },
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            });


            }
            });














            draft saved

            draft discarded


















            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f251946%2fmagento-2-3-problems-on-local-server%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown

























            3 Answers
            3






            active

            oldest

            votes








            3 Answers
            3






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            7














            Yes, This is the problem with windows. Windows uses "" as separator, the array "directories" contains entries with "/" as separator, so the check will always fail.



            So you need to fix this by replacing the separator in core file:



            MagentoFrameworkViewElementTemplateFileValidator


            function isPathInDirectories replace below code in isPathInDirectories function



            $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path));





            share|improve this answer
























            • This resolved the problem, thanks. I think this must be fixed in the core as fast as possible

              – Alexander Grosul
              Nov 30 '18 at 13:03











            • This shouldn't be used. This is duplicating str_replace call that is written in isValid method in the same class.

              – revo
              Nov 30 '18 at 18:25













            • This is a quick fix and may be Magento will provide a patch to fix this issue.

              – Saurabh Dwivedi
              Dec 1 '18 at 11:49











            • Yes but there is a better quick fix here.

              – revo
              Dec 1 '18 at 20:50











            • @SaurabhDwivedi Which file need to edit? Which file consists $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path)); ?

              – zus
              Dec 10 '18 at 7:22
















            7














            Yes, This is the problem with windows. Windows uses "" as separator, the array "directories" contains entries with "/" as separator, so the check will always fail.



            So you need to fix this by replacing the separator in core file:



            MagentoFrameworkViewElementTemplateFileValidator


            function isPathInDirectories replace below code in isPathInDirectories function



            $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path));





            share|improve this answer
























            • This resolved the problem, thanks. I think this must be fixed in the core as fast as possible

              – Alexander Grosul
              Nov 30 '18 at 13:03











            • This shouldn't be used. This is duplicating str_replace call that is written in isValid method in the same class.

              – revo
              Nov 30 '18 at 18:25













            • This is a quick fix and may be Magento will provide a patch to fix this issue.

              – Saurabh Dwivedi
              Dec 1 '18 at 11:49











            • Yes but there is a better quick fix here.

              – revo
              Dec 1 '18 at 20:50











            • @SaurabhDwivedi Which file need to edit? Which file consists $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path)); ?

              – zus
              Dec 10 '18 at 7:22














            7












            7








            7







            Yes, This is the problem with windows. Windows uses "" as separator, the array "directories" contains entries with "/" as separator, so the check will always fail.



            So you need to fix this by replacing the separator in core file:



            MagentoFrameworkViewElementTemplateFileValidator


            function isPathInDirectories replace below code in isPathInDirectories function



            $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path));





            share|improve this answer













            Yes, This is the problem with windows. Windows uses "" as separator, the array "directories" contains entries with "/" as separator, so the check will always fail.



            So you need to fix this by replacing the separator in core file:



            MagentoFrameworkViewElementTemplateFileValidator


            function isPathInDirectories replace below code in isPathInDirectories function



            $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path));






            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 30 '18 at 12:47









            Saurabh DwivediSaurabh Dwivedi

            53726




            53726













            • This resolved the problem, thanks. I think this must be fixed in the core as fast as possible

              – Alexander Grosul
              Nov 30 '18 at 13:03











            • This shouldn't be used. This is duplicating str_replace call that is written in isValid method in the same class.

              – revo
              Nov 30 '18 at 18:25













            • This is a quick fix and may be Magento will provide a patch to fix this issue.

              – Saurabh Dwivedi
              Dec 1 '18 at 11:49











            • Yes but there is a better quick fix here.

              – revo
              Dec 1 '18 at 20:50











            • @SaurabhDwivedi Which file need to edit? Which file consists $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path)); ?

              – zus
              Dec 10 '18 at 7:22



















            • This resolved the problem, thanks. I think this must be fixed in the core as fast as possible

              – Alexander Grosul
              Nov 30 '18 at 13:03











            • This shouldn't be used. This is duplicating str_replace call that is written in isValid method in the same class.

              – revo
              Nov 30 '18 at 18:25













            • This is a quick fix and may be Magento will provide a patch to fix this issue.

              – Saurabh Dwivedi
              Dec 1 '18 at 11:49











            • Yes but there is a better quick fix here.

              – revo
              Dec 1 '18 at 20:50











            • @SaurabhDwivedi Which file need to edit? Which file consists $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path)); ?

              – zus
              Dec 10 '18 at 7:22

















            This resolved the problem, thanks. I think this must be fixed in the core as fast as possible

            – Alexander Grosul
            Nov 30 '18 at 13:03





            This resolved the problem, thanks. I think this must be fixed in the core as fast as possible

            – Alexander Grosul
            Nov 30 '18 at 13:03













            This shouldn't be used. This is duplicating str_replace call that is written in isValid method in the same class.

            – revo
            Nov 30 '18 at 18:25







            This shouldn't be used. This is duplicating str_replace call that is written in isValid method in the same class.

            – revo
            Nov 30 '18 at 18:25















            This is a quick fix and may be Magento will provide a patch to fix this issue.

            – Saurabh Dwivedi
            Dec 1 '18 at 11:49





            This is a quick fix and may be Magento will provide a patch to fix this issue.

            – Saurabh Dwivedi
            Dec 1 '18 at 11:49













            Yes but there is a better quick fix here.

            – revo
            Dec 1 '18 at 20:50





            Yes but there is a better quick fix here.

            – revo
            Dec 1 '18 at 20:50













            @SaurabhDwivedi Which file need to edit? Which file consists $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path)); ?

            – zus
            Dec 10 '18 at 7:22





            @SaurabhDwivedi Which file need to edit? Which file consists $realPath = str_replace('\', '/', $this->fileDriver->getRealPath($path)); ?

            – zus
            Dec 10 '18 at 7:22













            0














            I have resolved this issue, yesterday on same version : run this query in your db.



            INSERT INTO core_config_data (path, value) VALUES ('dev/static/sign', 0)
            ON DUPLICATE KEY UPDATE value = 0;


            Then run following command :



             bin/magento cache:clean 


            In case if its not work you can see more solutions over here






            share|improve this answer



















            • 1





              Thanks for the response but it doesn't help me. I'm not sure that this cases are the same

              – Alexander Grosul
              Nov 30 '18 at 10:55











            • I am facing the same problem.

              – Balaji Birajdar
              Dec 31 '18 at 8:20
















            0














            I have resolved this issue, yesterday on same version : run this query in your db.



            INSERT INTO core_config_data (path, value) VALUES ('dev/static/sign', 0)
            ON DUPLICATE KEY UPDATE value = 0;


            Then run following command :



             bin/magento cache:clean 


            In case if its not work you can see more solutions over here






            share|improve this answer



















            • 1





              Thanks for the response but it doesn't help me. I'm not sure that this cases are the same

              – Alexander Grosul
              Nov 30 '18 at 10:55











            • I am facing the same problem.

              – Balaji Birajdar
              Dec 31 '18 at 8:20














            0












            0








            0







            I have resolved this issue, yesterday on same version : run this query in your db.



            INSERT INTO core_config_data (path, value) VALUES ('dev/static/sign', 0)
            ON DUPLICATE KEY UPDATE value = 0;


            Then run following command :



             bin/magento cache:clean 


            In case if its not work you can see more solutions over here






            share|improve this answer













            I have resolved this issue, yesterday on same version : run this query in your db.



            INSERT INTO core_config_data (path, value) VALUES ('dev/static/sign', 0)
            ON DUPLICATE KEY UPDATE value = 0;


            Then run following command :



             bin/magento cache:clean 


            In case if its not work you can see more solutions over here







            share|improve this answer












            share|improve this answer



            share|improve this answer










            answered Nov 30 '18 at 10:26









            ArunendraArunendra

            6,06331642




            6,06331642








            • 1





              Thanks for the response but it doesn't help me. I'm not sure that this cases are the same

              – Alexander Grosul
              Nov 30 '18 at 10:55











            • I am facing the same problem.

              – Balaji Birajdar
              Dec 31 '18 at 8:20














            • 1





              Thanks for the response but it doesn't help me. I'm not sure that this cases are the same

              – Alexander Grosul
              Nov 30 '18 at 10:55











            • I am facing the same problem.

              – Balaji Birajdar
              Dec 31 '18 at 8:20








            1




            1





            Thanks for the response but it doesn't help me. I'm not sure that this cases are the same

            – Alexander Grosul
            Nov 30 '18 at 10:55





            Thanks for the response but it doesn't help me. I'm not sure that this cases are the same

            – Alexander Grosul
            Nov 30 '18 at 10:55













            I am facing the same problem.

            – Balaji Birajdar
            Dec 31 '18 at 8:20





            I am facing the same problem.

            – Balaji Birajdar
            Dec 31 '18 at 8:20











            0














            This issue is from windows machine. Remove antivirus and allow firewall rules. Then add file/folders permissions.
            Win command:
            takeown /F E:/xampp/htdocs/mage23 /R



            Now install magento V2.3.0






            share|improve this answer








            New contributor




            Pallab Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
            Check out our Code of Conduct.

























              0














              This issue is from windows machine. Remove antivirus and allow firewall rules. Then add file/folders permissions.
              Win command:
              takeown /F E:/xampp/htdocs/mage23 /R



              Now install magento V2.3.0






              share|improve this answer








              New contributor




              Pallab Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
              Check out our Code of Conduct.























                0












                0








                0







                This issue is from windows machine. Remove antivirus and allow firewall rules. Then add file/folders permissions.
                Win command:
                takeown /F E:/xampp/htdocs/mage23 /R



                Now install magento V2.3.0






                share|improve this answer








                New contributor




                Pallab Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.










                This issue is from windows machine. Remove antivirus and allow firewall rules. Then add file/folders permissions.
                Win command:
                takeown /F E:/xampp/htdocs/mage23 /R



                Now install magento V2.3.0







                share|improve this answer








                New contributor




                Pallab Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                share|improve this answer



                share|improve this answer






                New contributor




                Pallab Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.









                answered 34 mins ago









                Pallab DasPallab Das

                12




                12




                New contributor




                Pallab Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.





                New contributor





                Pallab Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






                Pallab Das is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
                Check out our Code of Conduct.






























                    draft saved

                    draft discarded




















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid



                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.


                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function () {
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f251946%2fmagento-2-3-problems-on-local-server%23new-answer', 'question_page');
                    }
                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    What other Star Trek series did the main TNG cast show up in?

                    Berlina muro

                    Berlina aerponto