validation errors than can cause problems Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern) Announcing the arrival of Valued Associate #679: Cesar Manara Unicorn Meta Zoo #1: Why another podcast?Magento - 2.3.1 Possible Problems?How can we get customer orders history with rest APIMagento 2.3.1 Error on checkout getAdditionalInformation()Some Payment Method Not Showing in Sales grid after upgrade magento to 2.3.1Paypal-Express payment error - incorrect ID

Can a non-EU citizen traveling with me come with me through the EU passport line?

Why was the term "discrete" used in discrete logarithm?

How widely used is the term Treppenwitz? Is it something that most Germans know?

Why don't the Weasley twins use magic outside of school if the Trace can only find the location of spells cast?

How to bypass password on Windows XP account?

Gastric acid as a weapon

How do I keep my slimes from escaping their pens?

What's the purpose of writing one's academic bio in 3rd person?

What happens to sewage if there is no river near by?

How to find all the available tools in macOS terminal?

How to recreate this effect in Photoshop?

What would be the ideal power source for a cybernetic eye?

Were Kohanim forbidden from serving in King David's army?

Should I discuss the type of campaign with my players?

The logistics of corpse disposal

Why aren't air breathing engines used as small first stages

How can I fade player when goes inside or outside of the area?

Is 1 ppb equal to 1 μg/kg?

Is it true that "carbohydrates are of no use for the basal metabolic need"?

Why is black pepper both grey and black?

Is it ethical to give a final exam after the professor has quit before teaching the remaining chapters of the course?

What LEGO pieces have "real-world" functionality?

What are the pros and cons of Aerospike nosecones?

What do you call a plan that's an alternative plan in case your initial plan fails?



validation errors than can cause problems



Planned maintenance scheduled April 17/18, 2019 at 00:00UTC (8:00pm US/Eastern)
Announcing the arrival of Valued Associate #679: Cesar Manara
Unicorn Meta Zoo #1: Why another podcast?Magento - 2.3.1 Possible Problems?How can we get customer orders history with rest APIMagento 2.3.1 Error on checkout getAdditionalInformation()Some Payment Method Not Showing in Sales grid after upgrade magento to 2.3.1Paypal-Express payment error - incorrect ID



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








2
















vendor/temando/module-shipping-m2/Observer/PickupEmailObserver.php




What happen if $transport is null ?
see line 93



$order = $transport->getData('order');



/magento/module-sales/Model/OrderRepository.php




What happen if $order->getPayment() return null ?

see line



$paymentAdditionalInformation = $order->getPayment()->getAdditionalInformation();









share|improve this question






























    2
















    vendor/temando/module-shipping-m2/Observer/PickupEmailObserver.php




    What happen if $transport is null ?
    see line 93



    $order = $transport->getData('order');



    /magento/module-sales/Model/OrderRepository.php




    What happen if $order->getPayment() return null ?

    see line



    $paymentAdditionalInformation = $order->getPayment()->getAdditionalInformation();









    share|improve this question


























      2












      2








      2









      vendor/temando/module-shipping-m2/Observer/PickupEmailObserver.php




      What happen if $transport is null ?
      see line 93



      $order = $transport->getData('order');



      /magento/module-sales/Model/OrderRepository.php




      What happen if $order->getPayment() return null ?

      see line



      $paymentAdditionalInformation = $order->getPayment()->getAdditionalInformation();









      share|improve this question

















      vendor/temando/module-shipping-m2/Observer/PickupEmailObserver.php




      What happen if $transport is null ?
      see line 93



      $order = $transport->getData('order');



      /magento/module-sales/Model/OrderRepository.php




      What happen if $order->getPayment() return null ?

      see line



      $paymentAdditionalInformation = $order->getPayment()->getAdditionalInformation();






      magento2.3.1






      share|improve this question















      share|improve this question













      share|improve this question




      share|improve this question








      edited Apr 12 at 2:34









      Pawan

      2,1962618




      2,1962618










      asked Apr 11 at 22:35









      Jorge Alnoso CurzJorge Alnoso Curz

      261




      261




















          1 Answer
          1






          active

          oldest

          votes


















          0














          Off course $order->getPayment()->getAdditionalInformation() throw error when $order->getPayment() return null.



          If you want to resolve this then rewrite the class TemandoShippingObserverPickupEmailObserver` and if put a condition like



          if($order!== null)
          $paymentAdditionalInformation = $order->getPayment()->getAdditionalInformation();






          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%2f269795%2fvalidation-errors-than-can-cause-problems%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














            Off course $order->getPayment()->getAdditionalInformation() throw error when $order->getPayment() return null.



            If you want to resolve this then rewrite the class TemandoShippingObserverPickupEmailObserver` and if put a condition like



            if($order!== null)
            $paymentAdditionalInformation = $order->getPayment()->getAdditionalInformation();






            share|improve this answer



























              0














              Off course $order->getPayment()->getAdditionalInformation() throw error when $order->getPayment() return null.



              If you want to resolve this then rewrite the class TemandoShippingObserverPickupEmailObserver` and if put a condition like



              if($order!== null)
              $paymentAdditionalInformation = $order->getPayment()->getAdditionalInformation();






              share|improve this answer

























                0












                0








                0







                Off course $order->getPayment()->getAdditionalInformation() throw error when $order->getPayment() return null.



                If you want to resolve this then rewrite the class TemandoShippingObserverPickupEmailObserver` and if put a condition like



                if($order!== null)
                $paymentAdditionalInformation = $order->getPayment()->getAdditionalInformation();






                share|improve this answer













                Off course $order->getPayment()->getAdditionalInformation() throw error when $order->getPayment() return null.



                If you want to resolve this then rewrite the class TemandoShippingObserverPickupEmailObserver` and if put a condition like



                if($order!== null)
                $paymentAdditionalInformation = $order->getPayment()->getAdditionalInformation();







                share|improve this answer












                share|improve this answer



                share|improve this answer










                answered Apr 12 at 13:25









                Amit BeraAmit Bera

                60k1677178




                60k1677178



























                    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%2f269795%2fvalidation-errors-than-can-cause-problems%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