ref : #8877
Happens when viewing customers > edit customer > view "Manage Shopping Cart" at the backend
It happens because we changed the database and some datas weren't needed anymore, so some products weren't there in the new version. And of course, some abandoned carts didn't have some of the products back.
Steps to reproduce
I was only able to reproduce it locally using our production database, but you'll understand that I cannot share it with you. All that I can say is that deleting a product from the backend removes it well and cannot cause an error.
We should see the cart as usual, same as the majority of customers in the backend
We get the error:
Fatal error: Uncaught Error: Call to a member function canConfigure() on null in /home/dnd-von/Datas/projects/palmag/vendor/magento/module-advanced-checkout/Block/Adminhtml/Manage/Grid/Renderer/Product.php:31 Stack trace: #0 /home/dnd-von/Datas/projects/palmag/vendor/magento/module-backend/Block/Widget/Grid/Column.php(276): Magento\AdvancedCheckout\Block\Adminhtml\Manage\Grid\Renderer\Product->render(Object(Magento\Sales\Model\Order\Item)) #1 /home/dnd-von/Datas/projects/palmag/vendor/magento/module-backend/view/adminhtml/templates/widget/grid/extended.phtml(194): Magento\Backend\Block\Widget\Grid\Column->getRowField(Object(Magento\Sales\Model\Order\Item)) #2 /home/dnd-von/Datas/projects/palmag/vendor/magento/framework/View/TemplateEngine/Php.php(59): include('/home/dnd-von/D...') #3 /home/dnd-von/Datas/projects/palmag/vendor/magento/framework/View/Element/Template.php(255): Magento\Framework\View\TemplateEngine\Php->render(Object(Magento\AdvancedCheckout\Block\Adminhtml\Manage\Accordion\Ordered), '/home/dnd-von/D...', Ar in /home/dnd-von/Datas/projects/palmag/vendor/magento/module-advanced-checkout/Block/Adminhtml/Manage/Grid/Renderer/Product.php on line 31
Here's what we get when clicking the 'Manage Shopping Cart' tab (only locally as a dev, the error message isn't shown in production) :
Do you have a temporary solution to provide ?
Thanks in advance.
are you using any third party module