-
-
Notifications
You must be signed in to change notification settings - Fork 2.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fatal error ceil(): Argument #1 ($num) must be of type int|float, string given in GridGraph.php #20616
Comments
This happened again today. |
Hi @tsteur, |
This happened again for yet a different customer. @michalkleiner I don't have more information.
It says "Referrer: None" so I assume this was a regular API request. |
This one happened again. |
Can you perhaps explain a bit further what the problem/impact here is? |
@Stan-vw the team would be better able to explain than me. |
It does look like an API request for a graph and the issue is with the max value being a string instead of a number. We can be defensive and retype in the method that gets the maximum, but that could be hiding some other potential issue. Looking at how |
I'll close this as a duplicate of #19940 since the symptoms are the same and the fix would also be the same. |
See error below on Matomo 4.14.3
URL: /index.php?module=API&method=ImageGraph.get&idSite=3&apiModule=Goals&apiAction=get&token_auth=XYZANONYMIZED&idGoal=ecommerceOrder&period=week&date=2022-09-19,2023-04-16&filter_sort_column=revenue&column=revenue&columns=revenue&language=en&width=1065&height=450&fontSize=27&showMetricTitle=0&aliasedGraph=1&legendAppendMetric=0&backgroundColor=efefef&gridColor=dcdcdc&colors=3450A3,43a047&legendFontSize=27&cacherand=8723117
Referrer: None
GET: {"module":"API","method":"ImageGraph.get","idSite":"3","apiModule":"Goals","apiAction":"get","token_auth":"XYZANONYMIZED","idGoal":"ecommerceOrder","period":"week","date":"2022-09-19,2023-04-16","filter_sort_column":"revenue","column":"revenue","columns":"revenue","language":"en","width":"1065","height":"450","fontSize":"27","showMetricTitle":"0","aliasedGraph":"1","legendAppendMetric":"0","backgroundColor":"efefef","gridColor":"dcdcdc","colors":"3450A3,43a047","legendFontSize":"27","cacherand":"8723117","filter_limit":100}
The text was updated successfully, but these errors were encountered: