MDVA-30815: Elasticsearch blank search results
The MDVA-30815 patch fixes the issue where Elasticsearch displays a blank page when the search results' limiter options are changed. This patch is available when the Quality Patches Tool (QPT) 1.0.7 is installed. Please note that the issue was fixed in Adobe Commerce 2.3.5.
Affected products and versions
The patch is created for Adobe Commerce version:
- Adobe Commerce on cloud infrastructure 2.3.3
Compatible with Adobe Commerce versions:
- Adobe Commerce (all deployment methods) 2.3.2 - 2.3.3-p1
The patch might become applicable to other versions with new Quality Patches Tool releases. To check if the patch is compatible with your Adobe Commerce version, update the
magento/quality-patches package to the latest version and check the compatibility on the [!DNL Quality Patches Tool]: Search for patches page. Use the patch ID as a search keyword to locate the patch.
When using Elasticsearch, if you change the search results' limiter options, Adobe Commerce displays a blank page.
Elasticsearch is enabled. Go to STORES > Settings > Configuration > Catalog > Catalog Search.
Steps to reproduce:
- Go to your site.
- Search for a product on the main search field.
- After the search result pages are displayed, click on the last page in the search result pages.
- Select Show xx per page from the limiter option. Make sure that this is a different search result number limit than currently configured.
The page displays the configured number of product results.
Blank page displays. This error can also be seen in the
var/report : `"0":"SQLSTATE: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near'`
Apply the patch
To apply individual patches, use the following links depending on your deployment method:
To learn more about Quality Patches Tool, refer to:
For info about other patches available in QPT, refer to Patches available in QPT in our developer documentation.