@anonymous-piwik-user opened this Issue on June 25th 2011

Reported in forum:

Notice: Undefined offset: 4 in /.../core/ArchiveProcessing/Day.php on line 668
Notice: Undefined offset: 5 in /.../core/ArchiveProcessing/Day.php on line 669
Notice: Undefined offset: 6 in /.../core/ArchiveProcessing/Day.php on line 670
Notice: Undefined offset: 7 in /.../core/ArchiveProcessing/Day.php on line 671

These all track back to plugins/CustomVariables/CustomVariables.php:165

$archiveProcessing->updateInterestStats( $row, $this->interestByCustomVariablesAndValue[$row[$keyField]][$row[$valueField]]);
@robocoder commented on July 3rd 2011 Contributor

From code inspection, this shouldn't happen as the SQL query does a SELECT for 1 through 7.

Are you using MYSQLI or PDO_MYSQL? (I'm wondering if it's a side-effect of 1.5's session db savehandler on MYSQLI.)

Can you use the latest files in:

@anonymous-piwik-user commented on July 3rd 2011

I'm using PDO_MYSQL.

Since 2011-06-25 I doesn't became any more errors.

the only thin i was changed was the index of the CustomVariables in the JavaScript.

In the first trys i have make the index variable. As example:

Var1 has index: 1
Var2 has index: 2
Var3 has index: 3

If Var2 wasn't set, i has assigned Var3 the index 2. Now i have change it so that each var has always the same index.

@robocoder commented on July 3rd 2011 Contributor

Thanks for the update, GoSnA. Judging from the forum posts, you were the only one who reported this issue.

@anonymous-piwik-user commented on July 5th 2011

Yes, at the moment it seem to be an error in my javascript configuration of the custom variables.

@mattab commented on September 27th 2011 Member

If you can reproduce the issue in the next release 1.6 (after updating for new data) please post a comment here and we will fix the issue. I was not able to reproduce.

This Issue was closed on September 27th 2011
Powered by GitHub Issue Mirror