Cart & Checkout blank Magento 2.3 after trying to add product to cartError with the urlDecodeAndEscape and to delete an item from the cartFatal error: Uncaught Error: Class 'Cli' not foundMagento installation on live server is throwing errorphp bin/magento setup:upgradeMagento 2: Plugin class does not existCan't Access Checkout PageAdd configure product in Cart using Magento 2 API facing an issueMagento Core doesnt work after transferDeleted ShipperHQ module causing error in “All Customers” section of Magento 2when click on place order then paypal showing error in Magento2

Exit shell with shortcut (not typing exit) that closes session properly

Why does Surtur say that Thor is Asgard's doom?

When did hardware antialiasing start being available?

Print last inputted byte

I got the following comment from a reputed math journal. What does it mean?

Hackerrank All Women's Codesprint 2019: Name the Product

Hot air balloons as primitive bombers

Error in master's thesis, I do not know what to do

Friend wants my recommendation but I don't want to

label a part of commutative diagram

What is the reasoning behind standardization (dividing by standard deviation)?

Help with identifying unique aircraft over NE Pennsylvania

Was World War I a war of liberals against authoritarians?

Symbolism of 18 Journeyers

Why didn’t Eve recognize the little cockroach as a living organism?

How are passwords stolen from companies if they only store hashes?

What favor did Moody owe Dumbledore?

Do I need an EFI partition for each 18.04 ubuntu I have on my HD?

Nested Dynamic SOQL Query

The English Debate

What is it called when someone votes for an option that's not their first choice?

CLI: Get information Ubuntu releases

Should I be concerned about student access to a test bank?

Fair way to split coins



Cart & Checkout blank Magento 2.3 after trying to add product to cart


Error with the urlDecodeAndEscape and to delete an item from the cartFatal error: Uncaught Error: Class 'Cli' not foundMagento installation on live server is throwing errorphp bin/magento setup:upgradeMagento 2: Plugin class does not existCan't Access Checkout PageAdd configure product in Cart using Magento 2 API facing an issueMagento Core doesnt work after transferDeleted ShipperHQ module causing error in “All Customers” section of Magento 2when click on place order then paypal showing error in Magento2













1















In Magento 2.3 I am attempting to add an item to cart, however the cart shows empty and if I 'proceed to checkout' the checkout page is blank with just the loading gif icon.



If I go to 'checkout/cart' then the cart page is blank and just has 'estimate shipping & tax' towards the top of the page.



The console error I get when I click 'add to cart' is below:



customer-data.js:91 Uncaught Error: [object Object]
at Object.<anonymous> (customer-data.js:91)
at fire (jquery.js:3232)
at Object.fireWith [as rejectWith] (jquery.js:3362)
at done (jquery.js:9842)
at XMLHttpRequest.callback (jquery.js:10311)


The server error logs show the below message:



500 GET /customer/section/load/?sections=cart%2Cmessages&update_section_id=true&_=1552910808681 HTTP/1.0

500 GET /customer/section/load/?sections=cart%2Cmessages&update_section_id=true&_=1552910808681 HTTP/1.0

AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function getFinalProduct() on null in /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/DefaultItem.php:129nStack trace:n#0 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/MGS/Mpanel/CustomerData/DefaultItem.php(81): Magento\Checkout\CustomerData\DefaultItem->getProductForThumbnail()n#1 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/AbstractItem.php(32): MGS\Mpanel\CustomerData\DefaultItem->doGetItemData()n#2 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/ItemPool.php(63): Magento\Checkout\CustomerData\AbstractItem->getItemData(Object(Magento\Quote\Model\Quote\Item))n#3 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/Cart.php(167): Magento\Checkout\CustomerData\ItemPool->getItemData(Object(Magento\Quote\Model\Quote\Item))n#4 /var/www/vhosts/...n', referer: https://www.mysite.co.uk/coastal-chic-large-rectangular-dining-table.html


Can anyone please advise a solution?










share|improve this question




























    1















    In Magento 2.3 I am attempting to add an item to cart, however the cart shows empty and if I 'proceed to checkout' the checkout page is blank with just the loading gif icon.



    If I go to 'checkout/cart' then the cart page is blank and just has 'estimate shipping & tax' towards the top of the page.



    The console error I get when I click 'add to cart' is below:



    customer-data.js:91 Uncaught Error: [object Object]
    at Object.<anonymous> (customer-data.js:91)
    at fire (jquery.js:3232)
    at Object.fireWith [as rejectWith] (jquery.js:3362)
    at done (jquery.js:9842)
    at XMLHttpRequest.callback (jquery.js:10311)


    The server error logs show the below message:



    500 GET /customer/section/load/?sections=cart%2Cmessages&update_section_id=true&_=1552910808681 HTTP/1.0

    500 GET /customer/section/load/?sections=cart%2Cmessages&update_section_id=true&_=1552910808681 HTTP/1.0

    AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function getFinalProduct() on null in /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/DefaultItem.php:129nStack trace:n#0 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/MGS/Mpanel/CustomerData/DefaultItem.php(81): Magento\Checkout\CustomerData\DefaultItem->getProductForThumbnail()n#1 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/AbstractItem.php(32): MGS\Mpanel\CustomerData\DefaultItem->doGetItemData()n#2 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/ItemPool.php(63): Magento\Checkout\CustomerData\AbstractItem->getItemData(Object(Magento\Quote\Model\Quote\Item))n#3 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/Cart.php(167): Magento\Checkout\CustomerData\ItemPool->getItemData(Object(Magento\Quote\Model\Quote\Item))n#4 /var/www/vhosts/...n', referer: https://www.mysite.co.uk/coastal-chic-large-rectangular-dining-table.html


    Can anyone please advise a solution?










    share|improve this question


























      1












      1








      1








      In Magento 2.3 I am attempting to add an item to cart, however the cart shows empty and if I 'proceed to checkout' the checkout page is blank with just the loading gif icon.



      If I go to 'checkout/cart' then the cart page is blank and just has 'estimate shipping & tax' towards the top of the page.



      The console error I get when I click 'add to cart' is below:



      customer-data.js:91 Uncaught Error: [object Object]
      at Object.<anonymous> (customer-data.js:91)
      at fire (jquery.js:3232)
      at Object.fireWith [as rejectWith] (jquery.js:3362)
      at done (jquery.js:9842)
      at XMLHttpRequest.callback (jquery.js:10311)


      The server error logs show the below message:



      500 GET /customer/section/load/?sections=cart%2Cmessages&update_section_id=true&_=1552910808681 HTTP/1.0

      500 GET /customer/section/load/?sections=cart%2Cmessages&update_section_id=true&_=1552910808681 HTTP/1.0

      AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function getFinalProduct() on null in /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/DefaultItem.php:129nStack trace:n#0 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/MGS/Mpanel/CustomerData/DefaultItem.php(81): Magento\Checkout\CustomerData\DefaultItem->getProductForThumbnail()n#1 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/AbstractItem.php(32): MGS\Mpanel\CustomerData\DefaultItem->doGetItemData()n#2 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/ItemPool.php(63): Magento\Checkout\CustomerData\AbstractItem->getItemData(Object(Magento\Quote\Model\Quote\Item))n#3 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/Cart.php(167): Magento\Checkout\CustomerData\ItemPool->getItemData(Object(Magento\Quote\Model\Quote\Item))n#4 /var/www/vhosts/...n', referer: https://www.mysite.co.uk/coastal-chic-large-rectangular-dining-table.html


      Can anyone please advise a solution?










      share|improve this question
















      In Magento 2.3 I am attempting to add an item to cart, however the cart shows empty and if I 'proceed to checkout' the checkout page is blank with just the loading gif icon.



      If I go to 'checkout/cart' then the cart page is blank and just has 'estimate shipping & tax' towards the top of the page.



      The console error I get when I click 'add to cart' is below:



      customer-data.js:91 Uncaught Error: [object Object]
      at Object.<anonymous> (customer-data.js:91)
      at fire (jquery.js:3232)
      at Object.fireWith [as rejectWith] (jquery.js:3362)
      at done (jquery.js:9842)
      at XMLHttpRequest.callback (jquery.js:10311)


      The server error logs show the below message:



      500 GET /customer/section/load/?sections=cart%2Cmessages&update_section_id=true&_=1552910808681 HTTP/1.0

      500 GET /customer/section/load/?sections=cart%2Cmessages&update_section_id=true&_=1552910808681 HTTP/1.0

      AH01071: Got error 'PHP message: PHP Fatal error: Uncaught Error: Call to a member function getFinalProduct() on null in /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/DefaultItem.php:129nStack trace:n#0 /var/www/vhosts/mysite.co.uk/httpdocs/app/code/MGS/Mpanel/CustomerData/DefaultItem.php(81): Magento\Checkout\CustomerData\DefaultItem->getProductForThumbnail()n#1 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/AbstractItem.php(32): MGS\Mpanel\CustomerData\DefaultItem->doGetItemData()n#2 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/ItemPool.php(63): Magento\Checkout\CustomerData\AbstractItem->getItemData(Object(Magento\Quote\Model\Quote\Item))n#3 /var/www/vhosts/mysite.co.uk/httpdocs/vendor/magento/module-checkout/CustomerData/Cart.php(167): Magento\Checkout\CustomerData\ItemPool->getItemData(Object(Magento\Quote\Model\Quote\Item))n#4 /var/www/vhosts/...n', referer: https://www.mysite.co.uk/coastal-chic-large-rectangular-dining-table.html


      Can anyone please advise a solution?







      magento2 checkout cart addtocart






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited 14 hours ago







      YorkieMagento

















      asked 15 hours ago









      YorkieMagentoYorkieMagento

      47931440




      47931440




















          1 Answer
          1






          active

          oldest

          votes


















          0














          I hope, you are using the below custom module where you are trying to get Item information.



          MGS/Mpanel/CustomerData/DefaultItem.php



          This specific file code is not properly written which gave PHP 500 error. You have to check the Line # 81 in this file and check the product which you are trying to add to cart. This specific product may not have the relevant attribute information which resulted 500 PHP error message.



          Either you have to correct the php code or update the proper data for the attribute which will solve the problem.






          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%2f266379%2fcart-checkout-blank-magento-2-3-after-trying-to-add-product-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














            I hope, you are using the below custom module where you are trying to get Item information.



            MGS/Mpanel/CustomerData/DefaultItem.php



            This specific file code is not properly written which gave PHP 500 error. You have to check the Line # 81 in this file and check the product which you are trying to add to cart. This specific product may not have the relevant attribute information which resulted 500 PHP error message.



            Either you have to correct the php code or update the proper data for the attribute which will solve the problem.






            share|improve this answer



























              0














              I hope, you are using the below custom module where you are trying to get Item information.



              MGS/Mpanel/CustomerData/DefaultItem.php



              This specific file code is not properly written which gave PHP 500 error. You have to check the Line # 81 in this file and check the product which you are trying to add to cart. This specific product may not have the relevant attribute information which resulted 500 PHP error message.



              Either you have to correct the php code or update the proper data for the attribute which will solve the problem.






              share|improve this answer

























                0












                0








                0







                I hope, you are using the below custom module where you are trying to get Item information.



                MGS/Mpanel/CustomerData/DefaultItem.php



                This specific file code is not properly written which gave PHP 500 error. You have to check the Line # 81 in this file and check the product which you are trying to add to cart. This specific product may not have the relevant attribute information which resulted 500 PHP error message.



                Either you have to correct the php code or update the proper data for the attribute which will solve the problem.






                share|improve this answer













                I hope, you are using the below custom module where you are trying to get Item information.



                MGS/Mpanel/CustomerData/DefaultItem.php



                This specific file code is not properly written which gave PHP 500 error. You have to check the Line # 81 in this file and check the product which you are trying to add to cart. This specific product may not have the relevant attribute information which resulted 500 PHP error message.



                Either you have to correct the php code or update the proper data for the attribute which will solve the problem.







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered 12 hours ago









                ThamoThamo

                312




                312



























                    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%2f266379%2fcart-checkout-blank-magento-2-3-after-trying-to-add-product-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

                    Sum ergo cogito? 1 nng

                    三茅街道4182Guuntc Dn precexpngmageondP