This article provides a patch for the known Adobe Commerce 2.2.1 issue related to the orders not being displayed in the Orders grid in the Commerce Admin.
In the Adobe Commerce 2.2.1 with B2B extension installed, orders created on the storefront by a registered customer are not displayed in the list of orders in the customer’s account in the Commerce Admin. In the debug log (
./var/log/debug.log), the following error is logged:
report.CRITICAL: You cannot define a correlation name ‘company_order’ more than once
Your store catalog contains products, not Adobe Commerce sample data, and the B2B extension is installed.
Steps to reproduce:
The recently submitted order is listed in the grid.
The Orders grid does not display. A blank page displays instead.
The patch is attached to this article. To download it, scroll down to the end of the article and click the file name, or click the following link:
The patch was created for:
The patch is also compatible (but might not solve the issue) with the following Adobe Commerce versions and editions:
See How to apply a composer patch provided by Adobe Commerce in our support knowledge base, for instructions.