QUESTION:


I got this error below when adding a product to the cart.

The error appeared after installing the module Bss_OneStepCheckoutAdvanced v2.2.6 on my site M2.3.5_p2.


1 exception (s):

Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with customerId = 

Exception #0 (Magento\Framework\Exception\NoSuchEntityException): No such entity with customerId = 

<pre>#1 Magento\Customer\Model\CustomerRegistry->retrieve() called at [vendor/magento/mdoule-customer/Model/ResourceModel/CustomerRepository .php : 340)...



ANSWER:


With this module error, please edit the fileapp/code/Bss/OrderAmount/Helper/Data.php as below:


Or please download the file fix I attached below and overrides the current file on your site:


If you need further assistance, please do not hesitate to contact us. We'd be happy to support!