Closed chequille closed 4 years ago
@ChintanKaneriya, you need them all, here they are combined: https://patch-diff.githubusercontent.com/raw/magento/magento2/pull/25307.diff or alternatively: https://github.com/magento/magento2/commit/2c43b82f624806d163ffc598cb6d2f8c3ea0c420
I am still facing same issue in Magento 2.4.0. anyone can tell me how to i can fix this issue ?
@wajahatbashir your error seems to have a different cause. The problem of this issue was not shown on the frontend, but only in the logs (which was a false positive). It also stated a customerid, while it shows empty in your screenshot.
It seems like your screenshot is from the account edit page, but you are not actually showing an url. I would suggest asking help on stackexchange, since this does not seem a bug in Magento.
If it is a bug in Magento don't hesitate to create a new issue with proper steps to reproduce it.
For what is worth, we started getting this issue as well few days ago. Eventually we found that disabling the newsletter made the error disappear (It was part of 3rd party plugin)
We are getting "No such entity with quote_id" when we are trying to place an order and not able to place the order at all. Magento version is 2.3.5-p1. I have checked "vendor/magento/module-checkout/Model/Session.php" and looks like the patch is already implemented in that file but still we are getting error.
Getting same error No such entity id = in b2b Company Edit
_construct/var/www/html/Project/vendor/magento/module-company/Model/CompanyRepository.php:83 - singleField/var/www/html/Project/vendor/magento/framework/Interception/Interceptor.php:58 - get/var/www/html/Project/vendor/magento/framework/Interception/Interceptor.php:138
it's showing problems in this line throw NoSuchEntityException::singleField('id', $companyId);
if (!$company->getId()) { throw NoSuchEntityException::singleField('id', $companyId); }
Please help me.
@KarunaKhatri2 @Calvin495 Did you find any fix here? it is happening to me after make an upgrade and i dont know if it is an issue on the database or what
@magento give me 2.4-develop instance
Hi @dchaykas. Thank you for your request. I'm working on Magento instance for you.
Hi @dchaykas, here is your Magento Instance: https://9df5969661b4e099a968198e25b3f400.instances-prod.magento-community.engineering Admin access: https://9df5969661b4e099a968198e25b3f400.instances-prod.magento-community.engineering/admin_6713 Login: 066af785 Password: a230be56ca7d
Summary
Sorry to say this, but as usually, after upgrading Magento versions something is wrong at the end. I did have no exceptions and no errors before. Now upgrading to 2.3.2 I get exceptions like:
[2019-06-25 21:46:34] main.CRITICAL: Keine Eintrag mit customerId = 1 {"exception":"[object] (Magento\\Framework\\Exception\\NoSuchEntityException(code: 0): Keine Eintrag mit customerId = 1 at /var/www/vhosts/hopfenmuseum-tettnang.de/magento.hopfenexpress.de/vendor/magento/framework/Exception/NoSuchEntityException.php:50)"} []
Preconditions
Magento 2.3.2 PHP 7.2
Steps to reproduce
var/log/exception.log
file each time you visit a page:Expected result
No errors
Actual result
[2019-06-29 14:34:05] main.CRITICAL: No such entity with customerId = 1 {"exception":"[object] (Magento\Framework\Exception\NoSuchEntityException(code: 0): No such entity with customerId = 1 at vendor/magento/framework/Exception/NoSuchEntityException.php:50)"} [] [2019-06-29 14:34:06] main.CRITICAL: No such entity with customerId = 1 {"exception":"[object] (Magento\Framework\Exception\NoSuchEntityException(code: 0): No such entity with customerId = 1 at vendor/magento/framework/Exception/NoSuchEntityException.php:50)"} [] [2019-06-29 14:34:08] main.CRITICAL: No such entity with customerId = 1 {"exception":"[object] (Magento\Framework\Exception\NoSuchEntityException(code: 0): No such entity with customerId = 1 at vendor/magento/framework/Exception/NoSuchEntityException.php:50)"} [] [2019-06-29 14:34:08] main.CRITICAL: No such entity with customerId = 1 {"exception":"[object] (Magento\Framework\Exception\NoSuchEntityException(code: 0): No such entity with customerId = 1 at vendor/magento/framework/Exception/NoSuchEntityException.php:50)"} []
Additional information
From the comment
This last one seems to come from the ajax request to
/customer/section/load/?sections=cart&force_new_section_timestamp=false&_=1561818997600
Putting a break point in that
NoSuchEntityException.php
file on line 50 and then calling that ajax endpoint, gives me the following stack trace:I'm not sure how important this problem is and what is breaks exactly. But it doesn't sound very good..