php - 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","reason":"request [/magento2_product_1_v2/document/_mapping] 包含无法识别的参数:[include_type_name]"} ],"type":"illegal_argument_exception","reason":"request [/magento2_product_1_v2/document/_mapping] 包含无法识别的参数:[include_type_name]"},"status":400}
Magento 版本是 2.4.0
解决方案
推荐阅读
- angular - ngForOf 中的重复 ID 生成 - Angular
- php - 增加 WooCommerce 购物车中每个类别计数的运费
- c - 试图从另一个 char 指针分配一个 char 指针。为什么会出现段错误?
- typescript - 使用 'as Movie[]' 而不是 '
' @typescript-eslint/一致类型断言 - c# - 如何在 Xamarin 表单中将图标放在标签旁边
- javascript - 如何防止特定状态下的 ScrollTo 做出本机反应?
- reactjs - 从 Mobx 可观察数组中克隆可观察对象
- python - 如何使用多输出分类器实现网格搜索 cv?
- firebase - 已删除 Crashlytics 在构建时仍然出现 Crashlytics 错误
- sql-server - 如果用求和表达式表示,则将货币四舍五入到最接近的美元