danslo/CleanCheckout

No such entity with addressId - Exception error

mageuser opened this issue · 4 comments

{"0":"No such entity with addressId = 15","1":"#0 \/home\/admin\/public_html\/vendor\/magento\/module-customer\/Model\/AddressRegistry.php(49): Magento\\Framework\\Exception\\NoSuchEntityException::singleField('addressId', '15')\n#1 \/home\/admin\/public_html\/vendor\/magento\/module-customer\/Model\/ResourceModel\/AddressRepository.php(166): Magento\\Customer\\Model\\AddressRegistry->retrieve('15')\n#2 \/home\/admin\/public_html\/vendor\/magento\/module-persistent\/Observer\/EmulateCustomerObserver.php(90): Magento\\Customer\\Model\\ResourceModel\\AddressRepository->getById('15')\n#3 \/home\/admin\/public_html\/vendor\/magento\/framework\/Event\/Invoker\/InvokerDefault.php(72): Magento\\Persistent\\Observer\\EmulateCustomerObserver->execute(Object(Magento\\Framework\\Event\\Observer))\n#4 \/home\/admin\/public_html\/vendor\/magento\/framework\/Event\/Invoker\/InvokerDefault.php(60): Magento\\Framework\\Event\\Invoker\\InvokerDefault->_callObserverMethod(Object(Magento\\Persistent\\Observer\\EmulateCustomerObserver), Object(Magento\\Framework\\Event\\Observer))\n#5 \/home\/admin\/public_html\/vendor\/magento\/framework\/Event\/Manager.php(66): Magento\\Framework\\Event\\Invoker\\InvokerDefault->dispatch(Array, Object(Magento\\Framework\\Event\\Observer))\n#6 \/home\/admin\/public_html\/generated\/code\/Magento\/Framework\/Event\/Manager\/Proxy.php(95): Magento\\Framework\\Event\\Manager->dispatch('controller_acti...', Array)\n#7 \/home\/admin\/public_html\/vendor\/magento\/framework\/App\/Action\/Action.php(96): Magento\\Framework\\Event\\Manager\\Proxy->dispatch('controller_acti...', Array)\n#8 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(58): Magento\\Framework\\App\\Action\\Action->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#9 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(138): Magento\\Cms\\Controller\\Index\\Index\\Interceptor->___callParent('dispatch', Array)\n#10 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(153): Magento\\Cms\\Controller\\Index\\Index\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\n#11 \/home\/admin\/public_html\/generated\/code\/Magento\/Cms\/Controller\/Index\/Index\/Interceptor.php(39): Magento\\Cms\\Controller\\Index\\Index\\Interceptor->___callPlugins('dispatch', Array, Array)\n#12 \/home\/admin\/public_html\/vendor\/magento\/framework\/App\/FrontController.php(55): Magento\\Cms\\Controller\\Index\\Index\\Interceptor->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#13 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(58): Magento\\Framework\\App\\FrontController->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#14 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(138): Magento\\Framework\\App\\FrontController\\Interceptor->___callParent('dispatch', Array)\n#15 \/home\/admin\/public_html\/vendor\/magento\/module-store\/App\/FrontController\/Plugin\/RequestPreprocessor.php(94): Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\n#16 \/home\/admin\/public_html\/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))\n#17 \/home\/admin\/public_html\/vendor\/magento\/module-page-cache\/Model\/App\/FrontController\/BuiltinPlugin.php(69): Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\n#18 \/home\/admin\/public_html\/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))\n#19 \/home\/admin\/public_html\/vendor\/magento\/framework\/Interception\/Interceptor.php(153): Magento\\Framework\\App\\FrontController\\Interceptor->Magento\\Framework\\Interception\\{closure}(Object(Magento\\Framework\\App\\Request\\Http))\n#20 \/home\/admin\/public_html\/generated\/code\/Magento\/Framework\/App\/FrontController\/Interceptor.php(26): Magento\\Framework\\App\\FrontController\\Interceptor->___callPlugins('dispatch', Array, NULL)\n#21 \/home\/admin\/public_html\/vendor\/magento\/framework\/App\/Http.php(135): Magento\\Framework\\App\\FrontController\\Interceptor->dispatch(Object(Magento\\Framework\\App\\Request\\Http))\n#22 \/home\/admin\/public_html\/generated\/code\/Magento\/Framework\/App\/Http\/Interceptor.php(24): Magento\\Framework\\App\\Http->launch()\n#23 \/home\/admin\/public_html\/vendor\/magento\/framework\/App\/Bootstrap.php(256): Magento\\Framework\\App\\Http\\Interceptor->launch()\n#24 \/home\/admin\/public_html\/index.php(39): Magento\\Framework\\App\\Bootstrap->run(Object(Magento\\Framework\\App\\Http\\Interceptor))\n#25 {main}","url":"\/","script_name":"\/index.php"}

If im logged using other account just id changes, but still get this exception.

How to reproduce this? Do you get this issue without this module? Don't see anything related to it in the stacktrace.

Yeah, just get it after some weeks with this module, im trying find something related, but no infos. I just commented throw code and its working...

@kauansoft ... take a look at magento/magento2#15115 (comment)

Looks like this is an issue with the persistent shopping cart module as @srenon suggested. We're making updates to this module for the latest supported versions of Magento ,the module in it's current state is tested and working on 2.3.x and 2.4.x (bar a few bugs which will be fixed in a coming release).