Open kenchan-plp opened 3 months ago
Hi @kenchan-plp. Thank you for your report.
To speed up processing of this issue, make sure that you provided sufficient information.
Add a comment to assign the issue: @magento I am working on this
Join Magento Community Engineering Slack and ask your questions in #github channel.
Preconditions
Steps to reproduce
Expected result
Actual result
Customer login fail, but the errors as below Error: Call to a member function getId() on null in E:\XAMPP\htdocs\blb246\vendor\magento\data-migration-tool\src\Migration\Model\PasswordHashResolver.php:44 Stack trace:
0 E:\XAMPP\htdocs\blb246\vendor\magento\data-migration-tool\src\Migration\Plugin\Customer\Model\AuthenticationPlugin.php(79): Migration\Model\PasswordHashResolver->resolve(Object(Magento\Customer\Model\Customer\Interceptor))
1 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(121): Migration\Plugin\Customer\Model\AuthenticationPlugin->beforeAuthenticate(Object(Magento\Customer\Model\Authentication\Interceptor), '8687', 'Cxf451787266')
2 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(153): Magento\Customer\Model\Authentication\Interceptor->Magento\Framework\Interception{closure}('8687', 'Cxf451787266')
3 E:\XAMPP\htdocs\blb246\generated\code\Magento\Customer\Model\Authentication\Interceptor.php(50): Magento\Customer\Model\Authentication\Interceptor->___callPlugins('authenticate', Array, Array)
4 E:\XAMPP\htdocs\blb246\vendor\magento\module-customer\Model\AccountManagement.php(634): Magento\Customer\Model\Authentication\Interceptor->authenticate('8687', 'Cxf451787266')
5 E:\XAMPP\htdocs\blb246\generated\code\Magento\Customer\Model\AccountManagement\Interceptor.php(50): Magento\Customer\Model\AccountManagement->authenticate('495320721@qq.co...', 'Cxf451787266')
6 E:\XAMPP\htdocs\blb246\vendor\magento\module-customer\Controller\Account\LoginPost.php(191): Magento\Customer\Model\AccountManagement\Interceptor->authenticate('495320721@qq.co...', 'Cxf451787266')
7 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(58): Magento\Customer\Controller\Account\LoginPost->execute()
8 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(138): Magento\Customer\Controller\Account\LoginPost\Interceptor->___callParent('execute', Array)
9 E:\XAMPP\htdocs\blb246\vendor\magento\module-customer\Controller\Plugin\Account.php(64): Magento\Customer\Controller\Account\LoginPost\Interceptor->Magento\Framework\Interception{closure}()
10 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(135): Magento\Customer\Controller\Plugin\Account->aroundExecute(Object(Magento\Customer\Controller\Account\LoginPost\Interceptor), Object(Closure))
11 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(153): Magento\Customer\Controller\Account\LoginPost\Interceptor->Magento\Framework\Interception{closure}()
12 E:\XAMPP\htdocs\blb246\generated\code\Magento\Customer\Controller\Account\LoginPost\Interceptor.php(41): Magento\Customer\Controller\Account\LoginPost\Interceptor->___callPlugins('execute', Array, Array)
13 E:\XAMPP\htdocs\blb246\vendor\magento\framework\App\Action\Action.php(111): Magento\Customer\Controller\Account\LoginPost\Interceptor->execute()
14 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(58): Magento\Framework\App\Action\Action->dispatch(Object(Magento\Framework\App\Request\Http))
15 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(138): Magento\Customer\Controller\Account\LoginPost\Interceptor->___callParent('dispatch', Array)
16 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(153): Magento\Customer\Controller\Account\LoginPost\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
17 E:\XAMPP\htdocs\blb246\generated\code\Magento\Customer\Controller\Account\LoginPost\Interceptor.php(50): Magento\Customer\Controller\Account\LoginPost\Interceptor->___callPlugins('dispatch', Array, Array)
18 E:\XAMPP\htdocs\blb246\vendor\magento\framework\App\FrontController.php(245): Magento\Customer\Controller\Account\LoginPost\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
19 E:\XAMPP\htdocs\blb246\vendor\magento\framework\App\FrontController.php(212): Magento\Framework\App\FrontController->getActionResponse(Object(Magento\Customer\Controller\Account\LoginPost\Interceptor), Object(Magento\Framework\App\Request\Http))
20 E:\XAMPP\htdocs\blb246\vendor\magento\framework\App\FrontController.php(147): Magento\Framework\App\FrontController->processRequest(Object(Magento\Framework\App\Request\Http), Object(Magento\Customer\Controller\Account\LoginPost\Interceptor))
21 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(58): Magento\Framework\App\FrontController->dispatch(Object(Magento\Framework\App\Request\Http))
22 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(138): Magento\Framework\App\FrontController\Interceptor->___callParent('dispatch', Array)
23 E:\XAMPP\htdocs\blb246\vendor\magento\module-store\App\FrontController\Plugin\RequestPreprocessor.php(99): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
24 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(135): Magento\Store\App\FrontController\Plugin\RequestPreprocessor->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
25 E:\XAMPP\htdocs\blb246\vendor\magento\module-page-cache\Model\App\FrontController\BuiltinPlugin.php(75): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
26 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(135): Magento\PageCache\Model\App\FrontController\BuiltinPlugin->aroundDispatch(Object(Magento\Framework\App\FrontController\Interceptor), Object(Closure), Object(Magento\Framework\App\Request\Http))
27 E:\XAMPP\htdocs\blb246\vendor\magento\framework\Interception\Interceptor.php(153): Magento\Framework\App\FrontController\Interceptor->Magento\Framework\Interception{closure}(Object(Magento\Framework\App\Request\Http))
28 E:\XAMPP\htdocs\blb246\generated\code\Magento\Framework\App\FrontController\Interceptor.php(23): Magento\Framework\App\FrontController\Interceptor->___callPlugins('dispatch', Array, NULL)
29 E:\XAMPP\htdocs\blb246\vendor\magento\framework\App\Http.php(116): Magento\Framework\App\FrontController\Interceptor->dispatch(Object(Magento\Framework\App\Request\Http))
30 E:\XAMPP\htdocs\blb246\generated\code\Magento\Framework\App\Http\Interceptor.php(23): Magento\Framework\App\Http->launch()
31 E:\XAMPP\htdocs\blb246\vendor\magento\framework\App\Bootstrap.php(264): Magento\Framework\App\Http\Interceptor->launch()
32 E:\XAMPP\htdocs\blb246\pub\index.php(30): Magento\Framework\App\Bootstrap->run(Object(Magento\Framework\App\Http\Interceptor))
33 {main}
Additional notes