Period=range and VisitsSummary.get nb_uniq_visitors

Hi, I’m new in Piwik. Seems like a cool Open Source project :slight_smile:

Well I was trying to run this query:
&format=PHP …

And I get this error:
Notice: Undefined index: nb_uniq_visitors
This happens only when I try to use a day range, instead of the default (day):

&period=range&date=2011-10-28,2011-11-09 …

Perhaps I’m doing something wrong. Thanks.

If somebody has the same problem, you can solve this editing the configuration value enable_processing_unique_visitors_year_and_range in globals.ini.php, which is used inside the plugin.

How do I enable “Unique Visitors” metric for Yearly reports and for Custom Date Ranges?