Skip to content
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

Call to undefined method Piwik\\DataTable\\Map::getRowFromLabel() in /var/www/html/plugins/MarketingCampaignsReporting/API.php #61

Closed
mattab opened this issue Feb 9, 2021 · 0 comments · Fixed by matomo-org/matomo#17383
Assignees
Labels

Comments

@mattab
Copy link
Member

mattab commented Feb 9, 2021

The following error was triggered 13 times in January across 6 different instances.

Here is the stack trace:

Error: {"message":"Call to undefined method Piwik\\DataTable\\Map::getRowFromLabel()","file":"\/var\/www\/html\/plugins\/MarketingCampaignsReporting\/API.php","line":82,"request_id":"14a47","backtrace":" on \/var\/www\/html\/plugins\/MarketingCampaignsReporting\/API.php(82)
#0 [internal function]: Piwik\\Plugins\\MarketingCampaignsReporting\\API->getKeywordContentFromNameId('1', 'month', '2019-02-01,2021...', '7', false)
#1 \/var\/www\/html\/core\/API\/Proxy.php(244): call_user_func_array(Array, Array)
#2 \/var\/www\/html\/core\/Context.php(28): Piwik\\API\\Proxy->Piwik\\API\\{closure}()
#3 \/var\/www\/html\/core\/API\/Proxy.php(335): Piwik\\Context::executeWithQueryParameters(Array, Object(Closure))
#4 \/var\/www\/html\/core\/API\/Request.php(266): Piwik\\API\\Proxy->call('\\\\Piwik\\\\Plugins\\\\...', 'getKeywordConte...', Array)
#5 \/var\/www\/html\/plugins\/API\/RowEvolution.php(300): Piwik\\API\\Request->process()
#6 \/var\/www\/html\/plugins\/API\/RowEvolution.php(57): Piwik\\Plugins\\API\\RowEvolution->loadRowEvolutionDataFromAPI(Array, 1, 'month', '2019-02-01,2021...', 'MarketingCampai...', 'getKeywordConte...', Array, false, Array)
#7 \/var\/www\/html\/plugins\/API\/API.php(445): Piwik\\Plugins\\API\\RowEvolution->getRowEvolution(1, 'month', '2019-02-01,2021...', 'MarketingCampai...', 'getKeywordConte...', 'pnpplusartikel ...', false, false, false, Array, true, true, false)
#8 [internal function]: Piwik\\Plugins\\API\\API->getRowEvolution(1, 'month', '2019-02-01,2021...', 'MarketingCampai...', 'getKeywordConte...', 'pnpplusartikel ...', false, false, false, false, true, true, false, false)
#9 \/var\/www\/html\/core\/API\/Proxy.php(244): call_user_func_array(Array, Array)
#10 \/var\/www\/html\/core\/Context.php(28): Piwik\\API\\Proxy->Piwik\\API\\{closure}()
#11 \/var\/www\/html\/core\/API\/Proxy.php(335): Piwik\\Context::executeWithQueryParameters(Array, Object(Closure))
#12 \/var\/www\/html\/core\/API\/Request.php(266): Piwik\\API\\Proxy->call('\\\\Piwik\\\\Plugins\\\\...', 'getRowEvolution', Array)
#13 \/var\/www\/html\/plugins\/CoreHome\/DataTableRowAction\/RowEvolution.php(208): Piwik\\API\\Request->process()
#14 \/var\/www\/html\/plugins\/CoreHome\/DataTableRowAction\/RowEvolution.php(117): Piwik\\Plugins\\CoreHome\\DataTableRowAction\\RowEvolution->loadEvolutionReport()
#15 \/var\/www\/html\/plugins\/CoreHome\/Controller.php(247): Piwik\\Plugins\\CoreHome\\DataTableRowAction\\RowEvolution->__construct(1, Object(Piwik\\Date), NULL)
#16 \/var\/www\/html\/plugins\/CoreHome\/Controller.php(213): Piwik\\Plugins\\CoreHome\\Controller->makeRowEvolution(false)
#17 [internal function]: Piwik\\Plugins\\CoreHome\\Controller->getRowEvolutionPopover()
#18 \/var\/www\/html\/core\/FrontController.php(605): call_user_func_array(Array, Array)
#19 \/var\/www\/html\/core\/FrontController.php(166): Piwik\\FrontController->doDispatch('CoreHome', 'getRowEvolution...', Array)
#20 \/var\/www\/html\/core\/dispatch.php(32): Piwik\\FrontController->dispatch()
#21 \/var\/www\/html\/index.php(25): require_once('\/var\/www\/html\/c...')
#22 {main}"}

Request was;

index.php?date=2021-01-31&apiMethod=MarketingCampaignsReporting.getKeywordContentFromNameId&label=pnpplusartikel+%3E+%403900806%252C%2520grafenau&disableLink=1&module=CoreHome&action=getRowEvolutionPopover&colors=%7B%22backgroundColor%22%3A%22%23ffffff%22%2C%22lineColor%22%3A%22%23162c4a%22%2C%22minPointColor%22%3A%22%23ff7f7f%22%2C%22maxPointColor%22%3A%22%2375bf7c%22%2C%22lastPointColor%22%3A%22%2355aaff%22%2C%22fillColor%22%3A%22%23ffffff%22%7D&idSubtable=8&idSite=1&period=month

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
4 participants