@tsteur opened this Issue on June 2nd 2021 Member

refs https://github.com/matomo-org/matomo/issues/17212

saw this error in the logs recently and just want to log it so we can track it if it happens more often in the future.

rror: {"message":"Argument 3 passed to Piwik\\Plugins\\API\\Filter\\DataComparisonFilter\\ComparisonRowGenerator::compareTables() must implement interface Piwik\\DataTable\\DataTableInterface or be null, bool given, called in \/var\/www\/html\/plugins\/API\/Filter\/DataComparisonFilter.php on line 224","file":"\/var\/www\/html\/plugins\/API\/Filter\/DataComparisonFilter\/ComparisonRowGenerator.php","line":43,"request_id":"ae84a","backtrace":" on \/var\/www\/html\/plugins\/API\/Filter\/DataComparisonFilter\/ComparisonRowGenerator.php(43)\n<a href='/0'>#0</a> \/var\/www\/html\/plugins\/API\/Filter\/DataComparisonFilter.php(224): Piwik\\Plugins\\API\\Filter\\DataComparisonFilter\\ComparisonRowGenerator->compareTables(Array, Object(Piwik\\DataTable\\Map), false)\n<a href='/1'>#1</a> \/var\/www\/html\/core\/API\/DataTablePostProcessor.php(489): Piwik\\Plugins\\API\\Filter\\DataComparisonFilter->compare(Object(Piwik\\DataTable\\Map))\n<a href='/2'>#2</a> \/var\/www\/html\/core\/API\/DataTablePostProcessor.php(123): Piwik\\API\\DataTablePostProcessor->applyComparison(Object(Piwik\\DataTable\\Map))\n<a href='/3'>#3</a> \/var\/www\/html\/core\/Plugin\/Visualization.php(536): Piwik\\API\\DataTablePostProcessor->process(Object(Piwik\\DataTable\\Map))\n<a href='/4'>#4</a> \/var\/www\/html\/core\/Plugin\/Visualization.php(193): Piwik\\Plugin\\Visualization->applyFilters()\n<a href='/5'>#5</a> \/var\/www\/html\/core\/Plugin\/Controller.php(247): Piwik\\Plugin\\Visualization->render()\n<a href='/6'>#6</a> \/var\/www\/html\/plugins\/VisitsSummary\/Controller.php(128): Piwik\\Plugin\\Controller->renderView(Object(Piwik\\Plugins\\CoreVisualizations\\Visualizations\\JqplotGraph\\Evolution))\n<a href='/7'>#7</a> [internal function]: Piwik\\Plugins\\VisitsSummary\\Controller->getEvolutionGraph()\n<a href='/8'>#8</a> \/var\/www\/html\/core\/FrontController.php(615): call_user_func_array(Array, Array)\n<a href='/9'>#9</a> \/var\/www\/html\/core\/FrontController.php(167): Piwik\\FrontController->doDispatch('VisitsSummary', 'getEvolutionGra...', Array)\n<a href='/10'>#10</a> \/var\/www\/html\/core\/dispatch.php(32): Piwik\\FrontController->dispatch()\n<a href='/11'>#11</a> \/var\/www\/html\/index.php(25): require_once('\/var\/www\/html\/c...')\n<a href='/12'>#12</a> {main}","safemode_backtrace":"<a href='/0'>#0</a> [internal function]: Piwik\\Plugins\\Cloud\\Controller->safemode(Array)\n<a href='/1'>#1</a> \/core\/FrontController.php(615): call_user_func_array(Array, Array)\n<a href='/2'>#2</a> \/core\/FrontController.php(167): Piwik\\FrontController->doDispatch('Cloud', 'safemode', Array)\n<a href='/3'>#3</a> \/core\/FrontController.php(98): Piwik\\FrontController->dispatch('CorePluginsAdmi...', 'safemode', Array)\n<a href='/4'>#4</a> \/core\/FrontController.php(138): Piwik\\FrontController::(Array)\n<a href='/5'>#5</a> \/core\/FrontController.php(188): Piwik\\FrontController::(Object(TypeError))\n<a href='/6'>#6</a> \/core\/dispatch.php(32): Piwik\\FrontController->dispatch()\n<a href='/7'>#7</a> \/index.php(25): require_once('\/c...')\n<a href='/8'>#8</a> {main}"}

URL: https://$DOMAIN/index.php?date=2021-05-17,2021-06-01&forceView=1&viewDataTable=graphEvolution&module=VisitsSummary&action=getEvolutionGraph&disableLink=0&widget=1&columns%5B%5D=nb_uniq_visitors&columns_to_display%5B%5D=nb_uniq_visitors&comparePeriods%5B%5D=range&compareDates%5B%5D=2021-05-01%2C2021-05-16&idSite=1&period=range

Referrer: https://$DOMAINindex.php?module=CoreHome&action=index&idSite=1&period=range&date=previous30

GET: {"date":"2021-05-17,2021-06-01","forceView":"1","viewDataTable":"graphEvolution","module":"VisitsSummary","action":"getEvolutionGraph","disableLink":"0","widget":"1","columns":["nb_uniq_visitors"],"columns_to_display":["nb_uniq_visitors"],"comparePeriods":["range"],"compareDates":["2021-05-01,2021-05-16"],"idSite":"1","period":"range"}

@diosmosis commented on June 2nd 2021 Member
This Issue was closed on June 9th 2021
Powered by GitHub Issue Mirror