首页 > 解决方案 > Magento 类别页面未显示产品列表

问题描述

我是 magento 的新手。请帮我解决这个问题。

我将我的 magento 站点从一个系统移动到另一个系统。之后这个 URL localhost/magento/men/tops-men/hoodies-and-sweatshirts-men.html没有显示产品。它显示“我们找不到与选择匹配的产品”。

为了解决这个问题,我运行了这个命令:php bin/magento indexer:reindex 但它显示:

目录搜索索引过程未知错误:{"error":{"root_cause":[{"type":"illegal_argument_exception","re​​ason":"request [/magento2_product_1_v2/document/_mapping] 包含无法识别的参数:[include_type_name]"} ],"type":"illegal_argument_exception","re​​ason":"request [/magento2_product_1_v2/document/_mapping] 包含无法识别的参数:[include_type_name]"},"status":400}

Magento 版本是 2.4.0

标签: phpmagentomagento2

解决方案


推荐阅读