-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
bugSomething isn't workingSomething isn't workingfluentcart-mcpFluentCart MCP ServerFluentCart MCP ServerupstreamFluentCart upstream bug — cannot fix from MCP sideFluentCart upstream bug — cannot fix from MCP side
Description
Summary
The sales growth report endpoint crashes with a fatal error — an empty class name is passed to the autoloader.
Reproduction
curl -s -u "admin:APP_PASSWORD" \
"https://your-site.com/wp-json/fluent-cart/v2/reports/sales-growth?start_date=2026-01-01&end_date=2026-03-03"Response: {"message":"Class \"\" not found"} (HTTP 500)
Root Cause
Missing or empty class reference in the report controller. The class name resolves to an empty string before instantiation.
Affected Version
FluentCart 1.3.9
Workaround
Use report_sales_growth_chart (/reports/sales-growth-chart) instead — returns chart data for the same metric without the crash.
MCP Impact
fluentcart_report_sales_growth tool returns a server error. Tool description directs users to the chart alternative.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't workingfluentcart-mcpFluentCart MCP ServerFluentCart MCP ServerupstreamFluentCart upstream bug — cannot fix from MCP sideFluentCart upstream bug — cannot fix from MCP side