Logged-in Customer Cannot Add Products to CartSOAP API to build cart for frontend - should I be worried? session collision or cart loss?Cannot Add Product to cartCart items not updating properly in Magento 2What settings control how long the products stay in cart for guests?Magento 2 Cart Memory Exhaustion issue, with customerHow to redirect to cart after login using an observer in Magento 2Wishlist for guest in cart page not working shows “The requested cart item doesn't exist.'” in magento 2Magento 2.2.5 Mysql add a coupon cart rule to customers accountMagento 2 get quantity of product in cart without loopGuest Cart vs User Cart Overwrite

How to avoid unconsciously copying the style of my favorite writer?

Is it legal to use cash pulled from a credit card to pay the monthly payment on that credit card?

How to Create an Image for Cantor's *Diagonal Argument* with a Diagonal Oval

What is the lowest-speed bogey a jet fighter can intercept/escort?

What does "see" in "the Holy See" mean?

Can I make a matrix from just a parts of the cells?

Why did Saturn V not head straight to the moon?

Inadvertently nuked my disk permission structure - why?

Is this photo showing a woman posing in the nude before teenagers real?

3D Statue Park: U shapes

Basic Questions on Wiener Filtering

Spoken encryption

Get delta of days by current hour and added delta of days

Why is drive/partition number still used?

How can I prevent corporations from growing their own workforce?

Commercial jet accompanied by small plane near Seattle

Expansion with *.txt in the shell doesn't work if no .txt file exists

Piece-drop Mate #2

Where to place an artificial gland in the human body?

Problem in styling a monochrome plot

Writing a clean implementation of Rock, Paper, Scissors game in c++

Will any serial mouse connect to Classic Macs?

Is there anything wrong with Thrawn?

Can the 2019 UA Artificer's Returning Weapon and Radiant Weapon infusions stack on the same weapon?



Logged-in Customer Cannot Add Products to Cart


SOAP API to build cart for frontend - should I be worried? session collision or cart loss?Cannot Add Product to cartCart items not updating properly in Magento 2What settings control how long the products stay in cart for guests?Magento 2 Cart Memory Exhaustion issue, with customerHow to redirect to cart after login using an observer in Magento 2Wishlist for guest in cart page not working shows “The requested cart item doesn't exist.'” in magento 2Magento 2.2.5 Mysql add a coupon cart rule to customers accountMagento 2 get quantity of product in cart without loopGuest Cart vs User Cart Overwrite






.everyoneloves__top-leaderboard:empty,.everyoneloves__mid-leaderboard:empty,.everyoneloves__bot-mid-leaderboard:empty margin-bottom:0;








0















We're currently on an instance of Magento 2.2.7 (most products and customers have been migrated from Magento 1).



We have a strange issue where a small number of our customers are trying to order some stuff but once they login to their account they are experiencing problems.



If they're not logged in products can be added to the cart but when they try to check out and login with "My Account" the products disappear.



Furthermore if they try to add any products while logged in they cannot get them added to the cart.



They claim that they can still checkout as guests.



I cannot replicate the error myself and as this is only happening to a small number of customers I'm not sure what could be causing it or even how to test for it.



I wondered if anyone else has encountered this problem and if they found a cause or solution.










share|improve this question




























    0















    We're currently on an instance of Magento 2.2.7 (most products and customers have been migrated from Magento 1).



    We have a strange issue where a small number of our customers are trying to order some stuff but once they login to their account they are experiencing problems.



    If they're not logged in products can be added to the cart but when they try to check out and login with "My Account" the products disappear.



    Furthermore if they try to add any products while logged in they cannot get them added to the cart.



    They claim that they can still checkout as guests.



    I cannot replicate the error myself and as this is only happening to a small number of customers I'm not sure what could be causing it or even how to test for it.



    I wondered if anyone else has encountered this problem and if they found a cause or solution.










    share|improve this question
























      0












      0








      0








      We're currently on an instance of Magento 2.2.7 (most products and customers have been migrated from Magento 1).



      We have a strange issue where a small number of our customers are trying to order some stuff but once they login to their account they are experiencing problems.



      If they're not logged in products can be added to the cart but when they try to check out and login with "My Account" the products disappear.



      Furthermore if they try to add any products while logged in they cannot get them added to the cart.



      They claim that they can still checkout as guests.



      I cannot replicate the error myself and as this is only happening to a small number of customers I'm not sure what could be causing it or even how to test for it.



      I wondered if anyone else has encountered this problem and if they found a cause or solution.










      share|improve this question














      We're currently on an instance of Magento 2.2.7 (most products and customers have been migrated from Magento 1).



      We have a strange issue where a small number of our customers are trying to order some stuff but once they login to their account they are experiencing problems.



      If they're not logged in products can be added to the cart but when they try to check out and login with "My Account" the products disappear.



      Furthermore if they try to add any products while logged in they cannot get them added to the cart.



      They claim that they can still checkout as guests.



      I cannot replicate the error myself and as this is only happening to a small number of customers I'm not sure what could be causing it or even how to test for it.



      I wondered if anyone else has encountered this problem and if they found a cause or solution.







      magento2 checkout cart addtocart customer-account






      share|improve this question













      share|improve this question











      share|improve this question




      share|improve this question










      asked Jul 17 at 14:31









      CJNottsCJNotts

      17013 bronze badges




      17013 bronze badges




















          1 Answer
          1






          active

          oldest

          votes


















          0














          After some further Investigation I found the following error in the Apache Logs




          2019-07-20 19:56:36 Error 54.171.125.80 AH01071: Got error 'PHP
          message: PHP Fatal error: Uncaught Error: Call to a member function
          getId() on null in
          /var/www/vhosts/mywebsite.com/httpdocs/app/code/Mirasvit/Rewards/Service/Customer/Tier.php:169nStack
          trace:n#0
          /var/www/vhosts/mywebsite.com/httpdocs/app/code/Mirasvit/Rewards/Plugin/Balance/ChangePointsBalance.php(48):
          MirasvitRewardsServiceCustomerTier->updateCustomerTier('894')n#1
          /var/www/vhosts/mywebsite.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135):
          MirasvitRewardsPluginBalanceChangePointsBalance->aroundChangePointsBalance(Object(MirasvitRewardsHelperBalanceInterceptor),
          Object(Closure), '894', '259', 'Earned 259 Rewa...',
          'order_earn-1266...', true)n#2
          /var/www/vhosts/mywebsite.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153):
          MirasvitRewardsHelperBalanceInterceptor->MagentoFrameworkInterceptionclosure('894',
          '259', 'Earned 259 Rewa...', 'order_earn-1266...', true)n#3
          /var/www/vhosts/mywebsite.com/httpdocs/generated/code/Mirasvit...n',
          referer: https://www.mywebsite.com/checkout/




          I got in touch with Mirasvit and they provided a new version of the extension. With any luck this will resolve the issue.






          share|improve this answer

























            Your Answer








            StackExchange.ready(function()
            var channelOptions =
            tags: "".split(" "),
            id: "479"
            ;
            initTagRenderer("".split(" "), "".split(" "), channelOptions);

            StackExchange.using("externalEditor", function()
            // Have to fire editor after snippets, if snippets enabled
            if (StackExchange.settings.snippets.snippetsEnabled)
            StackExchange.using("snippets", function()
            createEditor();
            );

            else
            createEditor();

            );

            function createEditor()
            StackExchange.prepareEditor(
            heartbeatType: 'answer',
            autoActivateHeartbeat: false,
            convertImagesToLinks: false,
            noModals: true,
            showLowRepImageUploadWarning: true,
            reputationToPostImages: null,
            bindNavPrevention: true,
            postfix: "",
            imageUploader:
            brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
            contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
            allowUrls: true
            ,
            onDemand: true,
            discardSelector: ".discard-answer"
            ,immediatelyShowMarkdownHelp:true
            );



            );













            draft saved

            draft discarded


















            StackExchange.ready(
            function ()
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f282410%2flogged-in-customer-cannot-add-products-to-cart%23new-answer', 'question_page');

            );

            Post as a guest















            Required, but never shown

























            1 Answer
            1






            active

            oldest

            votes








            1 Answer
            1






            active

            oldest

            votes









            active

            oldest

            votes






            active

            oldest

            votes









            0














            After some further Investigation I found the following error in the Apache Logs




            2019-07-20 19:56:36 Error 54.171.125.80 AH01071: Got error 'PHP
            message: PHP Fatal error: Uncaught Error: Call to a member function
            getId() on null in
            /var/www/vhosts/mywebsite.com/httpdocs/app/code/Mirasvit/Rewards/Service/Customer/Tier.php:169nStack
            trace:n#0
            /var/www/vhosts/mywebsite.com/httpdocs/app/code/Mirasvit/Rewards/Plugin/Balance/ChangePointsBalance.php(48):
            MirasvitRewardsServiceCustomerTier->updateCustomerTier('894')n#1
            /var/www/vhosts/mywebsite.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135):
            MirasvitRewardsPluginBalanceChangePointsBalance->aroundChangePointsBalance(Object(MirasvitRewardsHelperBalanceInterceptor),
            Object(Closure), '894', '259', 'Earned 259 Rewa...',
            'order_earn-1266...', true)n#2
            /var/www/vhosts/mywebsite.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153):
            MirasvitRewardsHelperBalanceInterceptor->MagentoFrameworkInterceptionclosure('894',
            '259', 'Earned 259 Rewa...', 'order_earn-1266...', true)n#3
            /var/www/vhosts/mywebsite.com/httpdocs/generated/code/Mirasvit...n',
            referer: https://www.mywebsite.com/checkout/




            I got in touch with Mirasvit and they provided a new version of the extension. With any luck this will resolve the issue.






            share|improve this answer



























              0














              After some further Investigation I found the following error in the Apache Logs




              2019-07-20 19:56:36 Error 54.171.125.80 AH01071: Got error 'PHP
              message: PHP Fatal error: Uncaught Error: Call to a member function
              getId() on null in
              /var/www/vhosts/mywebsite.com/httpdocs/app/code/Mirasvit/Rewards/Service/Customer/Tier.php:169nStack
              trace:n#0
              /var/www/vhosts/mywebsite.com/httpdocs/app/code/Mirasvit/Rewards/Plugin/Balance/ChangePointsBalance.php(48):
              MirasvitRewardsServiceCustomerTier->updateCustomerTier('894')n#1
              /var/www/vhosts/mywebsite.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135):
              MirasvitRewardsPluginBalanceChangePointsBalance->aroundChangePointsBalance(Object(MirasvitRewardsHelperBalanceInterceptor),
              Object(Closure), '894', '259', 'Earned 259 Rewa...',
              'order_earn-1266...', true)n#2
              /var/www/vhosts/mywebsite.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153):
              MirasvitRewardsHelperBalanceInterceptor->MagentoFrameworkInterceptionclosure('894',
              '259', 'Earned 259 Rewa...', 'order_earn-1266...', true)n#3
              /var/www/vhosts/mywebsite.com/httpdocs/generated/code/Mirasvit...n',
              referer: https://www.mywebsite.com/checkout/




              I got in touch with Mirasvit and they provided a new version of the extension. With any luck this will resolve the issue.






              share|improve this answer

























                0












                0








                0







                After some further Investigation I found the following error in the Apache Logs




                2019-07-20 19:56:36 Error 54.171.125.80 AH01071: Got error 'PHP
                message: PHP Fatal error: Uncaught Error: Call to a member function
                getId() on null in
                /var/www/vhosts/mywebsite.com/httpdocs/app/code/Mirasvit/Rewards/Service/Customer/Tier.php:169nStack
                trace:n#0
                /var/www/vhosts/mywebsite.com/httpdocs/app/code/Mirasvit/Rewards/Plugin/Balance/ChangePointsBalance.php(48):
                MirasvitRewardsServiceCustomerTier->updateCustomerTier('894')n#1
                /var/www/vhosts/mywebsite.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135):
                MirasvitRewardsPluginBalanceChangePointsBalance->aroundChangePointsBalance(Object(MirasvitRewardsHelperBalanceInterceptor),
                Object(Closure), '894', '259', 'Earned 259 Rewa...',
                'order_earn-1266...', true)n#2
                /var/www/vhosts/mywebsite.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153):
                MirasvitRewardsHelperBalanceInterceptor->MagentoFrameworkInterceptionclosure('894',
                '259', 'Earned 259 Rewa...', 'order_earn-1266...', true)n#3
                /var/www/vhosts/mywebsite.com/httpdocs/generated/code/Mirasvit...n',
                referer: https://www.mywebsite.com/checkout/




                I got in touch with Mirasvit and they provided a new version of the extension. With any luck this will resolve the issue.






                share|improve this answer













                After some further Investigation I found the following error in the Apache Logs




                2019-07-20 19:56:36 Error 54.171.125.80 AH01071: Got error 'PHP
                message: PHP Fatal error: Uncaught Error: Call to a member function
                getId() on null in
                /var/www/vhosts/mywebsite.com/httpdocs/app/code/Mirasvit/Rewards/Service/Customer/Tier.php:169nStack
                trace:n#0
                /var/www/vhosts/mywebsite.com/httpdocs/app/code/Mirasvit/Rewards/Plugin/Balance/ChangePointsBalance.php(48):
                MirasvitRewardsServiceCustomerTier->updateCustomerTier('894')n#1
                /var/www/vhosts/mywebsite.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(135):
                MirasvitRewardsPluginBalanceChangePointsBalance->aroundChangePointsBalance(Object(MirasvitRewardsHelperBalanceInterceptor),
                Object(Closure), '894', '259', 'Earned 259 Rewa...',
                'order_earn-1266...', true)n#2
                /var/www/vhosts/mywebsite.com/httpdocs/vendor/magento/framework/Interception/Interceptor.php(153):
                MirasvitRewardsHelperBalanceInterceptor->MagentoFrameworkInterceptionclosure('894',
                '259', 'Earned 259 Rewa...', 'order_earn-1266...', true)n#3
                /var/www/vhosts/mywebsite.com/httpdocs/generated/code/Mirasvit...n',
                referer: https://www.mywebsite.com/checkout/




                I got in touch with Mirasvit and they provided a new version of the extension. With any luck this will resolve the issue.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 2 days ago









                CJNottsCJNotts

                17013 bronze badges




                17013 bronze badges



























                    draft saved

                    draft discarded
















































                    Thanks for contributing an answer to Magento Stack Exchange!


                    • Please be sure to answer the question. Provide details and share your research!

                    But avoid


                    • Asking for help, clarification, or responding to other answers.

                    • Making statements based on opinion; back them up with references or personal experience.

                    To learn more, see our tips on writing great answers.




                    draft saved


                    draft discarded














                    StackExchange.ready(
                    function ()
                    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fmagento.stackexchange.com%2fquestions%2f282410%2flogged-in-customer-cannot-add-products-to-cart%23new-answer', 'question_page');

                    );

                    Post as a guest















                    Required, but never shown





















































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown

































                    Required, but never shown














                    Required, but never shown












                    Required, but never shown







                    Required, but never shown







                    Popular posts from this blog

                    Get product attribute by attribute group code in magento 2get product attribute by product attribute group in magento 2Magento 2 Log Bundle Product Data in List Page?How to get all product attribute of a attribute group of Default attribute set?Magento 2.1 Create a filter in the product grid by new attributeMagento 2 : Get Product Attribute values By GroupMagento 2 How to get all existing values for one attributeMagento 2 get custom attribute of a single product inside a pluginMagento 2.3 How to get all the Multi Source Inventory (MSI) locations collection in custom module?Magento2: how to develop rest API to get new productsGet product attribute by attribute group code ( [attribute_group_code] ) in magento 2

                    Category:9 (number) SubcategoriesMedia in category "9 (number)"Navigation menuUpload mediaGND ID: 4485639-8Library of Congress authority ID: sh85091979ReasonatorScholiaStatistics

                    Magento 2.3: How do i solve this, Not registered handle, on custom form?How can i rewrite TierPrice Block in Magento2magento 2 captcha not rendering if I override layout xmlmain.CRITICAL: Plugin class doesn't existMagento 2 : Problem while adding custom button order view page?Magento 2.2.5: Overriding Admin Controller sales/orderMagento 2.2.5: Add, Update and Delete existing products Custom OptionsMagento 2.3 : File Upload issue in UI Component FormMagento2 Not registered handleHow to configured Form Builder Js in my custom magento 2.3.0 module?Magento 2.3. How to create image upload field in an admin form