@tsteur opened this Issue on November 6th 2022 Member

Got below error in our account . URL was index.php?module=CoreHome&action=index&idSite=12&period=week&date=today#?period=week&date=today&category=Dashboard_Dashboard&subcategory=1 but it's a custom dashboard where I have goals in there etc.

core/Metrics/Formatter.php(161): Warning - A non-numeric value encountered - Matomo 4.12.3 - Please report this message in the Matomo forums: https://forum.matomo.org (please do a search first as it might have been reported already) #0/core/Metrics/Formatter.php(161),#1/plugins/CoreHome/Columns/Metrics/ConversionRate.php(41),#2/plugins/CoreVisualizations/Visualizations/Sparklines.php(259),#3/plugins/CoreVisualizations/Visualizations/Sparklines.php(108),#4/core/Plugin/Report.php(320),#5/plugins/CoreHome/Controller.php(60),[internal function]: Piwik\Plugins\CoreHome\Controller->renderReportWidget(),#7/core/FrontController.php(631),#8/core/FrontController.php(169),#9/core/dispatch.php(32)

@heurteph-ei commented on November 7th 2022

Is it the same as #19963?

@sgiehl commented on November 8th 2022 Member

@tsteur Might be hard to find the reason why a non numeric value occurs for the conversion rate.
We could though change the formatter to check if the given value is numeric and use 0 otherwise maybe.

@tsteur commented on November 8th 2022 Member

Thanks. That actually didn't happen when comparing but maybe it's related to the other regressions. It only started with the recent Matomo 4.12 release. We could always see if it still happens after all the other regression fixes and #19970

Powered by GitHub Issue Mirror