Cron 或 CLI 报 Area code is already set,通常是多个组件重复调用 setAreaCode,应改为正确依赖和环境模拟。
继续阅读Magento 2 Cron 报 Area code is already set
2025/5/14 上午9:24
alwayly
Magento 2 商品集合 getSize 数量不准确
2025/6/13 上午10:58
alwayly
商品集合页面明明只有 18 条,getSize() 却返回 42,问题通常不在分页器,而在 JOIN、GROUP BY 或调用顺序改变了计数 SQL。继续阅读


