cancel
Showing results for 
Search instead for 
Did you mean: 

There has been an error processing your request. Can't sign in to magento2 admin panel

There has been an error processing your request. Can't sign in to magento2 admin panel

Dear People, 

 

I tried to install an extension for magento2 from the admin panel and it wasn't able to pass the readiness check. I realised that I had php 7.1 and not 7.2. I removed 7.1 and installed 7.2 and that's where the problem began. Bear in mind that I have magento2 installed on a VPS. I fixed most of the issues, as the Luma frontend is working (except for the search as it gives the following error) and I can also see the admin panel, but once I enter my credentials and press login, it displays:

 

There has been an error processing your request

 

Exception printing is disabled by default for security reasons.

Error log record number: d30f145de40498f5e3d207d31704d784fe721953c222e44dd93beb88cfae3e5f

 

I tried the solutions posted in one of the earlier topics, however, it was all in vain. I checked for the error report under var/report in the magento folder and it was as below:

 

{"0":"Image CAPTCHA requires GD extension","1":"#1 Magento\\Captcha\\Model\\DefaultModel->__construct(&Magento\\Backend\\Model\\Auth\\Session\\Interceptor#00000000499150410000000065561836#, &Magento\\Captcha\\Helper\\Adminhtml\\Data#00000000499152190000000065561836#, &Magento\\Captcha\\Model\\ResourceModel\\LogFactory#00000000499152180000000065561836#, 'backend_login', NULL) called at [vendor\/magento\/framework\/ObjectManager\/Factory\/AbstractFactory.php:121]\n#2 Magento\\Framework\\ObjectManager\\Factory\\AbstractFactory->createObject('Magento\\Captcha\\...', array(&Magento\\Backend\\Model\\Auth\\Session\\Interceptor#00000000499150410000000065561836#, &Magento\\Captcha\\Helper\\Adminhtml\\Data#00000000499152190000000065561836#, &Magento\\Captcha\\Model\\ResourceModel\\LogFactory#00000000499152180000000065561836#, 'backend_login', NULL)) called at [vendor\/magento\/framework\/ObjectManager\/Factory\/Compiled.php:108]\n#3 Magento\\Framework\\ObjectManager\\Factory\\Compiled->create('Magento\\Captcha\\...', array('formId' => 'backend_login')) called at [vendor\/magento\/framework\/ObjectManager\/ObjectManager.php:56]\n#4 Magento\\Framework\\ObjectManager\\ObjectManager->create('Magento\\Captcha\\...', array('formId' => 'backend_login')) called at [vendor\/magento\/module-captcha\/Model\/CaptchaFactory.php:37]\n#5 Magento\\Captcha\\Model\\CaptchaFactory->create('DefaultModel', 'backend_login') called at [vendor\/magento\/module-captcha\/Helper\/Data.php:100]\n#6 Magento\\Captcha\\Helper\\Data->getCaptcha('backend_login') called at [vendor\/magento\/module-captcha\/Observer\/CheckUserLoginBackendObserver.php:53]\n#7 Magento\\Captcha\\Observer\\CheckUserLoginBackendObserver->execute(&Magento\\Framework\\Event\\Observer#00000000499152160000000065561836#) called at [vendor\/magento\/framework\/Event\/Invoker\/InvokerDefault.php:88]\n#8 Magento\\Framework\\Event\\Invoker\\InvokerDefault->_callObserverMethod(&Magento\\Captcha\\Observer\\CheckUserLoginBackendObserver#000000004991500c0000000065561836#, &Magento\\Framework\\Event\\Observer#00000000499152160000000065561836#) called at [vendor\/magento\/framework\/Event\/Invoker\/InvokerDefault.php:74]\n#9 Magento\\Framework\\Event\\Invoker\\InvokerDefault->dispatch(array('instance' => 'Magento\\Captcha\\...', 'name' => 'captcha'), &Magento\\Framework\\Event\\Observer#00000000499152160000000065561836#) called at [vendor\/magento\/framework\/Event\/Manager.php:66]\n#10 Magento\\Framework\\Event\\Manager->dispatch('admin_user_authe...', array('username' => 'admin', 'user' => &Magento\\User\\Model\\User\\Interceptor#00000000499153fa0000000065561836#)) called at [generated\/code\/Magento\/Framework\/Event\/Manager\/Proxy.php:95]\n#11 Magento\\Framework\\Event\\Manager\\Proxy->dispatch('admin_user_authe...', array('username' => 'admin', 'user' => &Magento\\User\\Model\\User\\Interceptor#00000000499153fa0000000065561836#)) called at [vendor\/magento\/module-user\/Model\/User.php:579]\n#12 Magento\\User\\Model\\User->authenticate('admin', 'admin123') called at [vendor\/magento\/module-user\/Model\/User.php:639]\n#13 Magento\\User\\Model\\User->login('admin', 'admin123') called at [vendor\/magento\/module-backend\/Model\/Auth.php:162]\n#14 Magento\\Backend\\Model\\Auth->login('admin', 'admin123') called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#15 Magento\\Backend\\Model\\Auth\\Interceptor->___callParent('login', array('admin', 'admin123')) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#16 Magento\\Backend\\Model\\Auth\\Interceptor->Magento\\Framework\\Interception\\{closure}('admin', 'admin123') called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#17 Magento\\Backend\\Model\\Auth\\Interceptor->___callPlugins('login', array('admin', 'admin123'), array(array('security_admin_s...'))) called at [generated\/code\/Magento\/Backend\/Model\/Auth\/Interceptor.php:26]\n#18 Magento\\Backend\\Model\\Auth\\Interceptor->login('admin', 'admin123') called at [vendor\/magento\/module-backend\/App\/Action\/Plugin\/Authentication.php:205]\n#19 Magento\\Backend\\App\\Action\\Plugin\\Authentication->_performLogin(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#) called at [vendor\/magento\/module-backend\/App\/Action\/Plugin\/Authentication.php:157]\n#20 Magento\\Backend\\App\\Action\\Plugin\\Authentication->_processNotLoggedInUser(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#) called at [vendor\/magento\/module-backend\/App\/Action\/Plugin\/Authentication.php:125]\n#21 Magento\\Backend\\App\\Action\\Plugin\\Authentication->aroundDispatch(&Magento\\Backend\\Controller\\Adminhtml\\Index\\Index\\Interceptor#00000000499153420000000065561836#, &Closure#00000000499153400000000065561836#, &Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:135]\n#22 Magento\\Backend\\Controller\\Adminhtml\\Index\\Index\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#23 Magento\\Backend\\Controller\\Adminhtml\\Index\\Index\\Interceptor->___callPlugins('dispatch', array(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#), NULL) called at [generated\/code\/Magento\/Backend\/Controller\/Adminhtml\/Index\/Index\/Interceptor.php:26]\n#24 Magento\\Backend\\Controller\\Adminhtml\\Index\\Index\\Interceptor->dispatch(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#) called at [vendor\/magento\/framework\/App\/FrontController.php:159]\n#25 Magento\\Framework\\App\\FrontController->processRequest(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#, &Magento\\Backend\\Controller\\Adminhtml\\Index\\Index\\Interceptor#00000000499153420000000065561836#) called at [vendor\/magento\/framework\/App\/FrontController.php:99]\n#26 Magento\\Framework\\App\\FrontController->dispatch(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:58]\n#27 Magento\\Framework\\App\\FrontController\\Interceptor->___callParent('dispatch', array(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#)) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:138]\n#28 Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#) called at [vendor\/magento\/framework\/Interception\/Interceptor.php:153]\n#29 Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins('dispatch', array(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#), array(array('default_store_se...', 'page_cache_from_...', 'storeCookieValid...', 'install', 'configHash'))) called at [generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php:26]\n#30 Magento\\Framework\\App\\FrontController\\Interceptor->dispatch(&Magento\\Framework\\App\\Request\\Http#00000000499151570000000065561836#) called at [vendor\/magento\/framework\/App\/Http.php:116]\n#31 Magento\\Framework\\App\\Http->launch() called at [vendor\/magento\/framework\/App\/Bootstrap.php:261]\n#32 Magento\\Framework\\App\\Bootstrap->run(&Magento\\Framework\\App\\Http\\Interceptor#00000000499151ac0000000065561836#) called at [index.php:39]\n","url":"\/admin_1uw0vf\/admin\/index\/index\/key\/8b67669096eabcc64651db0d57f5ad8ceb61a2dd080037b01f7a2ebcf21a3bf5\/","script_name":"\/index.php","report_id":"7ee4b111c80440f95d5c70931358126351dc4400dd4d6324d062d4bf44a4191c"}

 

 

Appreciate if anyone can assist as I am banging my head against the wall to find the solution.

1 REPLY 1

Re: There has been an error processing your request. Can't sign in to magento2 admin panel

Hi @thomas_jill 

Looks like PHP GD extension is missing.

sudo apt-get install php7.2-gd


Then restart php service once and try.

Also make sure that you have installed all required php extensions. for More info

https://devdocs.magento.com/guides/v2.3/install-gde/system-requirements-tech.html

I hope it will help you!