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 a member function getDateStart() on boolean DataTable/Renderer/Rss.php #16918

Closed
mattab opened this issue Dec 9, 2020 · 1 comment · Fixed by #16920
Closed

Call to a member function getDateStart() on boolean DataTable/Renderer/Rss.php #16918

mattab opened this issue Dec 9, 2020 · 1 comment · Fixed by #16920
Assignees
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@mattab
Copy link
Member

mattab commented Dec 9, 2020

Error seen on Cloud:

Error: {"message":"Call to a member function getDateStart() on boolean","file":"/var/www/html/core/DataTable/Renderer/Rss.php","line":62,"request_id":"1e86d","backtrace":" on /var/www/html/core/DataTable/Renderer/Rss.php(62)\n#0 /var/www/html/core/DataTable/Renderer/Rss.php(34): Piwik\DataTable\Renderer\Rss->renderTable(Object(Piwik\DataTable\Map))\n#1 /var/www/html/plugins/API/Renderer/Rss.php(40): Piwik\DataTable\Renderer\Rss->render()\n#2 /var/www/html/core/API/ResponseBuilder.php(193): Piwik\Plugins\API\Renderer\Rss->renderDataTable(Object(Piwik\DataTable\Map))\n#3 /var/www/html/core/API/ResponseBuilder.php(104): Piwik\API\ResponseBuilder->handleDataTable(Object(Piwik\DataTable\Map))\n#4 /var/www/html/core/API/Request.php(272): Piwik\API\ResponseBuilder->getResponse(Object(Piwik\DataTable\Map), 'Actions', 'getPageUrl')\n#5 /var/www/html/core/Context.php(28): Piwik\API\Request->Piwik\API\{closure}()\n#6 /var/www/html/core/API/Request.php(273): Piwik\Context::executeWithQueryParameters(Array, Object(Closure))\n#7 /var/www/html/plugins/API/Controller.php(46): Piwik\API\Request->process()\n#8 [internal function]: Piwik\Plugins\API\Controller->index()\n#9 /var/www/html/core/FrontController.php(605): call_user_func_array(Array, Array)\n#10 /var/www/html/core/FrontController.php(166): Piwik\FrontController->doDispatch('API', false, Array)\n#11 /var/www/html/core/dispatch.php(32): Piwik\FrontController->dispatch()\n#12 /var/www/html/index.php(25): require_once('/var/www/html/c...')\n#13 {main}"}

URL: https://xyz.matomo.cloud//?module=API&format=rss&pageUrl=%xxxxxxxxxxxxxxxx&idSite=1&period=day&date=last7&token_auth=XYZANONYMIZED&method=Actions.getPageUrl

Referrer:

GET: {"module":"API","format":"rss","pageUrl":"\xxxxxxxxxxxx","idSite":"1","period":"day","date":"last7","token_auth":"XYZANONYMIZED","method":"Actions.getPageUrl","filter_limit":100}

Time: 2020-12-09 09:09:38

@mattab mattab added the Bug For errors / faults / flaws / inconsistencies etc. label Dec 9, 2020
@sgiehl
Copy link
Member

sgiehl commented Dec 9, 2020

Seems that error occurs when filtering for a pageUrl that does not occur in one of the returned periods. Will check if it's easy to fix

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants