Hello Awesome people.
I just started using PIWIK 2 weeks ago, im amazed of the possibilities but im still so awfully green.
So sorry for my ignorance.
I'm in the middle of a exam project, where i am using a piwik API in my interface, to make a chart of the actions on the site over a timeline
It was working perfectly yesterday, but now it just returns ( Error: Cannot create object ).
I've narrowed it down, so the problem can only come from the request im sending with this method : Live.getLastVisitsDetails.
I saw the changelog : "The API method Live.getLastVisitsDetails does no longer support the API parameter filter_sort_column to prevent possible memory issues when filter_offset is large."
But im not using filter_sort_column or filter_offset.
So im pretty damn lost....
My request looks like this
'module' => 'API',
'method' => 'Live.getLastVisitsDetails',
'idSite' => '1',
'date' => 'today',
'period' => 'day',
'format' => 'json',
'filter_limit'=>'20',
'token_auth' => 'x'
Maybe some higher level PIWIKER is able to point out what this rookie is doing wrong.
Have a nice day ;)
I just started using PIWIK 2 weeks ago, im amazed of the possibilities but im still so awfully green.
So sorry for my ignorance.
I'm in the middle of a exam project, where i am using a piwik API in my interface, to make a chart of the actions on the site over a timeline
It was working perfectly yesterday, but now it just returns ( Error: Cannot create object ).
I've narrowed it down, so the problem can only come from the request im sending with this method : Live.getLastVisitsDetails.
I saw the changelog : "The API method Live.getLastVisitsDetails does no longer support the API parameter filter_sort_column to prevent possible memory issues when filter_offset is large."
But im not using filter_sort_column or filter_offset.
So im pretty damn lost....
My request looks like this
'module' => 'API',
'method' => 'Live.getLastVisitsDetails',
'idSite' => '1',
'date' => 'today',
'period' => 'day',
'format' => 'json',
'filter_limit'=>'20',
'token_auth' => 'x'
Maybe some higher level PIWIKER is able to point out what this rookie is doing wrong.
Have a nice day ;)