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).
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?