Hello everybody,
i need help please, i try to install magento 2.3.5 to xamp server for many day i have many problem.
so i install magento 2.3.5 no problem,
when i need to connect to localhost/magento2 , i have this problem:
There has been an error processing your request
Exception printing is disabled by default for security reasons.
Error log record number: 6d8e5bc366a3a6727d78ac3140229c7a314108657087d440380b0d074eb8fe01
when i go to var/report:
{"0":"Class Magento\\Framework\\View\\Element\\Template\\File\\Validator does not exist","1":"#1 Magento\\Framework\\ObjectManager\\Definition\\Runtime->getParameters('Magento\\Framewor...') called at [vendor\\magento\\framework\\ObjectManager\\Factory\\Dynamic\\Developer.php:48]\n#2 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create('Magento\\Framewor...') called at [vendor\\magento\\framework\\ObjectManager\\ObjectManager.php:70]\n#3 Magento\\Framework\\ObjectManager\\ObjectManager->get('Magento\\Framewor...') called at [vendor\\magento\\framework\\ObjectManager\\Factory\\AbstractFactory.php:167]\n#4 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgument(array('instance' => 'Magento\\Framewor...'), 'Magento\\Framewor...', NULL, 'context', 'Magento\\Framewor...') called at [vendor\\magento\\framework\\ObjectManager\\Factory\\AbstractFactory.php:273]\n#5 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->getResolvedArgument('Magento\\Framewor...', array('context', 'Magento\\Framewor...', true, NULL, false), array('layoutReaderPool' => array('instance' => 'pageConfigRender...'), 'generatorPool' => array('instance' => 'pageLayoutGenera...'), 'template' => 'Magento_Theme::r...', 'pageConfigRender...' => array('instance' => 'Magento\\Develope...'))) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\AbstractFactory.php:236]\n#6 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgumentsInRuntime('Magento\\Framewor...', array(array('context', 'Magento\\Framewor...', true, NULL, false), array('layoutFactory', 'Magento\\Framewor...', true, NULL, false), array('layoutReaderPool', 'Magento\\Framewor...', true, NULL, false), array('translateInline', 'Magento\\Framewor...', true, NULL, false), array('layoutBuilderFac...', 'Magento\\Framewor...', true, NULL, false), array('generatorPool', 'Magento\\Framewor...', true, NULL, false), array('pageConfigRender...', 'Magento\\Framewor...', true, NULL, false), array('pageLayoutReader', 'Magento\\Framewor...', true, NULL, false), array('template', NULL, true, NULL, false), array('isIsolated', NULL, false, false, false), array('entitySpecificHa...', 'Magento\\Framewor...', false, NULL, false)), array('layoutReaderPool' => array('instance' => 'pageConfigRender...'), 'generatorPool' => array('instance' => 'pageLayoutGenera...'), 'template' => 'Magento_Theme::r...', 'pageConfigRender...' => array('instance' => 'Magento\\Develope...'))) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\Dynamic\\Developer.php:34]\n#7 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->_resolveArguments('Magento\\Framewor...', array(array('context', 'Magento\\Framewor...', true, NULL, false), array('layoutFactory', 'Magento\\Framewor...', true, NULL, false), array('layoutReaderPool', 'Magento\\Framewor...', true, NULL, false), array('translateInline', 'Magento\\Framewor...', true, NULL, false), array('layoutBuilderFac...', 'Magento\\Framewor...', true, NULL, false), array('generatorPool', 'Magento\\Framewor...', true, NULL, false), array('pageConfigRender...', 'Magento\\Framewor...', true, NULL, false), array('pageLayoutReader', 'Magento\\Framewor...', true, NULL, false), array('template', NULL, true, NULL, false), array('isIsolated', NULL, false, false, false), array('entitySpecificHa...', 'Magento\\Framewor...', false, NULL, false)), array('layoutReaderPool' => array('instance' => 'pageConfigRender...'), 'generatorPool' => array('instance' => 'pageLayoutGenera...'), 'template' => 'Magento_Theme::r...', 'pageConfigRender...' => array('instance' => 'Magento\\Develope...'))) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\Dynamic\\Developer.php:59]\n#8 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create('Magento\\Framewor...', array()) called at [vendor\\magento\\framework\\ObjectManager\\ObjectManager.php:56]\n#9 Magento\\Framework\\ObjectManager\\ObjectManager->create('Magento\\Framewor...', array()) called at [vendor\\magento\\framework\\View\\Result\\PageFactory.php:56]\n#10 Magento\\Framework\\View\\Result\\PageFactory->create(true) called at [vendor\\magento\\framework\\App\\View.php:74]\n#11 Magento\\Framework\\App\\View->__construct(&Magento\\Framework\\View\\Layout\\Interceptor#000000000ed638e5000000001c92d4f5#, &Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#, &Magento\\Framework\\App\\Response\\Http\\Interceptor#000000000ed63aeb000000001c92d4f5#, &Magento\\Framework\\Config\\Scope#000000000ed63a2c000000001c92d4f5#, &Magento\\Framework\\Event\\Manager\\Proxy#000000000ed63b32000000001c92d4f5#, &Magento\\Framework\\View\\Result\\PageFactory#000000000ed638f6000000001c92d4f5#, &Magento\\Framework\\App\\ActionFlag#000000000ed63859000000001c92d4f5#) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\AbstractFactory.php:121]\n#12 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->createObject('Magento\\Framewor...', array(&Magento\\Framework\\View\\Layout\\Interceptor#000000000ed638e5000000001c92d4f5#, &Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#, &Magento\\Framework\\App\\Response\\Http\\Interceptor#000000000ed63aeb000000001c92d4f5#, &Magento\\Framework\\Config\\Scope#000000000ed63a2c000000001c92d4f5#, &Magento\\Framework\\Event\\Manager\\Proxy#000000000ed63b32000000001c92d4f5#, &Magento\\Framework\\View\\Result\\PageFactory#000000000ed638f6000000001c92d4f5#, &Magento\\Framework\\App\\ActionFlag#000000000ed63859000000001c92d4f5#)) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\Dynamic\\Developer.php:66]\n#13 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create('Magento\\Framewor...') called at [vendor\\magento\\framework\\ObjectManager\\ObjectManager.php:70]\n#14 Magento\\Framework\\ObjectManager\\ObjectManager->get('Magento\\Framewor...') called at [vendor\\magento\\framework\\ObjectManager\\Factory\\AbstractFactory.php:167]\n#15 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgument(array('instance' => 'Magento\\Framewor...'), 'Magento\\Framewor...', NULL, 'view', 'Magento\\Framewor...') called at [vendor\\magento\\framework\\ObjectManager\\Factory\\AbstractFactory.php:273]\n#16 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->getResolvedArgument('Magento\\Framewor...', array('view', 'Magento\\Framewor...', true, NULL, false), array()) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\AbstractFactory.php:236]\n#17 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgumentsInRuntime('Magento\\Framewor...', array(array('request', 'Magento\\Framewor...', true, NULL, false), array('response', 'Magento\\Framewor...', true, NULL, false), array('objectManager', 'Magento\\Framewor...', true, NULL, false), array('eventManager', 'Magento\\Framewor...', true, NULL, false), array('url', 'Magento\\Framewor...', true, NULL, false), array('redirect', 'Magento\\Framewor...', true, NULL, false), array('actionFlag', 'Magento\\Framewor...', true, NULL, false), array('view', 'Magento\\Framewor...', true, NULL, false), array('messageManager', 'Magento\\Framewor...', true, NULL, false), array('resultRedirectFa...', 'Magento\\Framewor...', true, NULL, false), array('resultFactory', 'Magento\\Framewor...', true, NULL, false)), array()) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\Dynamic\\Developer.php:34]\n#18 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->_resolveArguments('Magento\\Framewor...', array(array('request', 'Magento\\Framewor...', true, NULL, false), array('response', 'Magento\\Framewor...', true, NULL, false), array('objectManager', 'Magento\\Framewor...', true, NULL, false), array('eventManager', 'Magento\\Framewor...', true, NULL, false), array('url', 'Magento\\Framewor...', true, NULL, false), array('redirect', 'Magento\\Framewor...', true, NULL, false), array('actionFlag', 'Magento\\Framewor...', true, NULL, false), array('view', 'Magento\\Framewor...', true, NULL, false), array('messageManager', 'Magento\\Framewor...', true, NULL, false), array('resultRedirectFa...', 'Magento\\Framewor...', true, NULL, false), array('resultFactory', 'Magento\\Framewor...', true, NULL, false)), array()) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\Dynamic\\Developer.php:59]\n#19 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create('Magento\\Framewor...') called at [vendor\\magento\\framework\\ObjectManager\\ObjectManager.php:70]\n#20 Magento\\Framework\\ObjectManager\\ObjectManager->get('Magento\\Framewor...') called at [vendor\\magento\\framework\\ObjectManager\\Factory\\AbstractFactory.php:167]\n#21 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgument(array('instance' => 'Magento\\Framewor...'), 'Magento\\Framewor...', NULL, 'context', 'Magento\\Cms\\Cont...') called at [vendor\\magento\\framework\\ObjectManager\\Factory\\AbstractFactory.php:273]\n#22 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->getResolvedArgument('Magento\\Cms\\Cont...', array('context', 'Magento\\Framewor...', true, NULL, false), array()) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\AbstractFactory.php:236]\n#23 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->resolveArgumentsInRuntime('Magento\\Cms\\Cont...', array(array('context', 'Magento\\Framewor...', true, NULL, false), array('resultForwardFac...', 'Magento\\Framewor...', true, NULL, false), array('scopeConfig', 'Magento\\Framewor...', false, NULL, false), array('page', 'Magento\\Cms\\Help...', false, NULL, false)), array()) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\Dynamic\\Developer.php:34]\n#24 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->_resolveArguments('Magento\\Cms\\Cont...', array(array('context', 'Magento\\Framewor...', true, NULL, false), array('resultForwardFac...', 'Magento\\Framewor...', true, NULL, false), array('scopeConfig', 'Magento\\Framewor...', false, NULL, false), array('page', 'Magento\\Cms\\Help...', false, NULL, false)), array()) called at [vendor\\magento\\framework\\ObjectManager\\Factory\\Dynamic\\Developer.php:59]\n#25 Magento\\Framework\\ObjectManager\\Factory\\Dynamic\\Developer->create('Magento\\Cms\\Cont...', array()) called at [vendor\\magento\\framework\\ObjectManager\\ObjectManager.php:56]\n#26 Magento\\Framework\\ObjectManager\\ObjectManager->create('Magento\\Cms\\Cont...') called at [vendor\\magento\\framework\\App\\ActionFactory.php:44]\n#27 Magento\\Framework\\App\\ActionFactory->create('Magento\\Cms\\Cont...') called at [vendor\\magento\\framework\\App\\Router\\Base.php:306]\n#28 Magento\\Framework\\App\\Router\\Base->matchAction(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#, array('moduleFrontName' => 'cms', 'actionPath' => NULL, 'actionName' => NULL)) called at [vendor\\magento\\framework\\App\\Router\\Base.php:167]\n#29 Magento\\Framework\\App\\Router\\Base->match(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#) called at [vendor\\magento\\framework\\Interception\\Interceptor.php:58]\n#30 Magento\\Framework\\App\\Router\\Base\\Interceptor->___callParent('match', array(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#)) called at [vendor\\magento\\framework\\Interception\\Interceptor.php:138]\n#31 Magento\\Framework\\App\\Router\\Base\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#) called at [vendor\\magento\\framework\\Interception\\Interceptor.php:153]\n#32 Magento\\Framework\\App\\Router\\Base\\Interceptor->___callPlugins('match', array(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#), array(array('csp_aware_plugin'))) called at [generated\\code\\Magento\\Framework\\App\\Router\\Base\\Interceptor.php:26]\n#33 Magento\\Framework\\App\\Router\\Base\\Interceptor->match(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#) called at [vendor\\magento\\framework\\App\\FrontController.php:95]\n#34 Magento\\Framework\\App\\FrontController->dispatch(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#) called at [vendor\\magento\\framework\\Interception\\Interceptor.php:58]\n#35 Magento\\Framework\\App\\FrontController\\Interceptor->___callParent('dispatch', array(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#)) called at [vendor\\magento\\framework\\Interception\\Interceptor.php:138]\n#36 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#) called at [vendor\\magento\\module-store\\App\\FrontController\\Plugin\\RequestPreprocessor.php:99]\n#37 Magento\\Store\\App\\FrontController\\Plugin\\RequestPreprocessor->aroundDispatch(&Magento\\Framework\\App\\FrontController\\Interceptor#000000000ed63b70000000001c92d4f5#, &Closure#000000000ed63b5a000000001c92d4f5#, &Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#) called at [vendor\\magento\\framework\\Interception\\Interceptor.php:135]\n#38 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#) called at [vendor\\magento\\module-page-cache\\Model\\App\\FrontController\\BuiltinPlugin.php:73]\n#39 Magento\\PageCache\\Model\\App\\FrontController\\BuiltinPlugin->aroundDispatch(&Magento\\Framework\\App\\FrontController\\Interceptor#000000000ed63b70000000001c92d4f5#, &Closure#000000000ed63b5a000000001c92d4f5#, &Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#) called at [vendor\\magento\\framework\\Interception\\Interceptor.php:135]\n#40 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#) called at [vendor\\magento\\framework\\Interception\\Interceptor.php:153]\n#41 Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins('dispatch', array(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#), NULL) called at [generated\\code\\Magento\\Framework\\App\\FrontController\\Interceptor.php:26]\n#42 Magento\\Framework\\App\\FrontController\\Interceptor->dispatch(&Magento\\Framework\\App\\Request\\Http#000000000ed63a9c000000001c92d4f5#) called at [vendor\\magento\\framework\\App\\Http.php:116]\n#43 Magento\\Framework\\App\\Http->launch() called at [generated\\code\\Magento\\Framework\\App\\Http\\Interceptor.php:24]\n#44 Magento\\Framework\\App\\Http\\Interceptor->launch() called at [vendor\\magento\\framework\\App\\Bootstrap.php:261]\n#45 Magento\\Framework\\App\\Bootstrap->run(&Magento\\Framework\\App\\Http\\Interceptor#000000000ed63af2000000001c92d4f5#) called at [index.php:39]\n","url":"\/magento2\/","script_name":"\/magento2\/index.php","report_id":"6d8e5bc366a3a6727d78ac3140229c7a314108657087d440380b0d074eb8fe01"}
i cannot logging to admin same problem.
somebody can help me please.
thanks a lot
Hello @nadia_hmouda
Please run below command to change your application mode "default" to "developer" so you can see logs.
php bin/magento deploy:mode:set developer
After that try again if you can find some error or if you get blank page after that try below mention links:
https://stackoverflow.com/questions/53600587/magento-error-class-validator-does-not-exist
Apart from that please run below commands too:
php bin:magento setup:upgrade
php bin:magento setup:di:compile
php bin/magento c:f
set 777 permission to your folders too [var, pub, generated]
Hi @nadia_hmouda,
You can try the following commands and check again.
chmod -R 777 var pub generated php bin/magento setup:upgrade php bin/magento setup:di:compile php bin/magento setup:static-content:deploy -f php bin/magento cache:flush
Let me know if you need further assistance.
Hope it helps!
_____________
If issue solved, Click Kudos & Accept as Solution.