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

Notice: Undefined property: Piwik_DataTable rows #682

Closed
anonymous-matomo-user opened this issue Apr 30, 2009 · 1 comment
Closed

Notice: Undefined property: Piwik_DataTable rows #682

anonymous-matomo-user opened this issue Apr 30, 2009 · 1 comment
Labels
Bug For errors / faults / flaws / inconsistencies etc.

Comments

@anonymous-matomo-user
Copy link

I've noticed a problem with newly registered sites and the MultiSitesPlugin. As soon as you register a site via the API, then go straight to the Multi Site widget, you get an error like this:

Notice: Undefined property: Piwik_DataTable_Simple::$rows in /home/stats/piwik/core/DataTable.php on line 457 Backtrace -->
#0 Piwik_ErrorHandler(8, Undefined property: Piwik_DataTable_Simple::$rows, /home/stats/piwik/core/DataTable.php, 457, Array ()) called at [/home/stats/piwik/core/DataTable.php:457]
#1 Piwik_DataTable->rebuildIndex() called at [/home/stats/piwik/core/DataTable.php:433]
#2 Piwik_DataTable->getRowFromLabel(0) called at [/home/stats/piwik/core/DataTable/Simple.php:54]
#3 Piwik_DataTable_Simple->getColumn(0) called at [/home/stats/piwik/plugins/MultiSitesPlugin/Controller.php:156]
#4 Piwik_MultiSitesPlugin_Controller->getSummary(Piwik_DataTable_Array Object ([=> Array (), => Array ([=> Piwik_DataTable_Simple Object ( => Array ([=> Piwik_DataTable_Row Object (c => Array ([=> Array (label

An example of the API call I'm using is:

http://domain.com/piwik/?module=API&method=SitesManager.addSite&siteName=example.org&urls[0]=http://example.org&token_auth=XXXXXXXXXXXXX

@mattab
Copy link
Member

mattab commented Apr 30, 2009

(In [1079]) - fixed #682 Notice: Undefined property: Piwik_DataTable

This issue was closed.
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

No branches or pull requests

2 participants