{"data":{"id":"MDVA-36021","source":"qpt","sourceRef":"magento/quality-patches@1.1.84","title":"Fixes the issue where the 'Call to a member function getId()' error is displayed on the order details page in the Admin.","categories":["Admin","Order/Checkout"],"components":["magento/module-sales"],"origin":"adobe-commerce-support","documentation":{"url":"https://experienceleague.adobe.com/en/docs/commerce-operations/tools/quality-patches-tool/patches-available-in-qpt/v1-1-1/mdva-36021-call-to-a-member-function-getid-error-on-the-order-details-page","path":"help/tools/quality-patches-tool/patches-available-in-qpt/v1-1-1/mdva-36021-call-to-a-member-function-getid-error-on-the-order-details-page.md","blobSha":"f59900ac94a08064928c4e96bb3a57dc097c7781","description":"When users try to open order details, the following error message is displayed on the order details page in the Admin: report.CRITICAL: Error: Call to a member function getId() on array in /magento2ce/app/code/Magento/Sales/view/adminhtml/templates/order/totals/tax.phtml:62.","stepsToReproduce":"1. Log in to the Commerce Admin. 1. Go to Sales > Orders > Open Order.","introducedInQpt":"1.1.1","createdFor":["2.4.1","2.4.2"],"documentedRange":"2.4.0 - 2.4.2-p1","scheduledFixRelease":"2.4.4"},"files":[{"package":"magento/magento2-base","constraint":">=2.4.0 <2.4.4","path":"patches/os/MDVA-36021_2.4.1.patch","blobSha":"35ab83e8e8220919e65d45dcc09060d4bcf62102","url":"https://raw.githubusercontent.com/magento/quality-patches/11d565bdde197b9c7bac859a5698e99098b48457/patches/os/MDVA-36021_2.4.1.patch","thirdParty":false,"modifies":[{"path":"vendor/magento/module-sales/view/adminhtml/templates/order/totals/tax.phtml","change":"modified","package":"magento/module-sales"}],"packages":["magento/module-sales"],"hasTests":false,"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0"],"mage-os":[]},"unknownVersions":[],"requires":[],"replacedWith":null,"deprecated":false}],"applicableVersions":{"magento-community":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0"],"magento-commerce":["2.4.3-p3","2.4.3-p2","2.4.3-p1","2.4.3","2.4.2-p2","2.4.2-p1","2.4.2","2.4.1-p1","2.4.1","2.4.0-p1","2.4.0"],"mage-os":[]},"conditions":{"and":[{"type":"log","path":"var/log/system.log","match":"report.CRITICAL: Error: Call to a member function getId() on array in */module-sales/view/adminhtml/templates/order/totals/tax.phtml:*"}]},"requirements":null},"_documentation":"https://magento.watch/api","_description":"Quality patch MDVA-36021 details"}