cancel
Showing results for 
Search instead for 
Did you mean: 

Getting error "No such entity with id =" in admin company edit

Getting error "No such entity with id =" in admin company edit

Getting 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);
}

1 REPLY 1

Re: Getting error "No such entity with id =" in admin company edit

Hi @karuna_khatri,

 

Greetings!

 

Can you please tell me that which B2B company extension you are using and which Magento version you are using? This will help us to solve your issue. 

 

Awaiting your response. 

Thank you!