Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

"Notice: Array to string conversion" when downloading CSV or TSV files from Visitor Log in 1.12 #4063

Closed
anonymous-piwik-user opened this Issue · 3 comments

2 participants

Anonymous Piwik user Matthieu Aubry
Anonymous Piwik user

I looked at earlier tickets that looked like they addressed this, but did not find a solution (the fixes should be included in 1.12).

One notable detail is that the server is running PHP 5.4.13. This caused other issues on a related website (the website being tracked).

The error message is below:

Notice: Array to string conversion in /var/www/vhosts/new-example.com/httpdocs/core/DataTable/Renderer/Csv.php on line 283

Backtrace -->

#0 Piwik_ErrorHandler(...) called at [/var/www/vhosts/new-example.com/httpdocs/core/DataTable/Renderer/Csv.php:283]
#1 Piwik_DataTable_Renderer_Csv->renderDataTable(...) called at [/var/www/vhosts/new-example.com/httpdocs/core/DataTable/Renderer/Csv.php:132]
#2 Piwik_DataTable_Renderer_Csv->renderTable(...) called at [/var/www/vhosts/new-example.com/httpdocs/core/DataTable/Renderer/Csv.php:68]
#3 Piwik_DataTable_Renderer_Csv->render(...) called at [/var/www/vhosts/new-example.com/httpdocs/core/API/ResponseBuilder.php:193]
#4 Piwik_API_ResponseBuilder->getRenderedDataTable(...) called at [/var/www/vhosts/new-example.com/httpdocs/core/API/ResponseBuilder.php:300]
#5 Piwik_API_ResponseBuilder->handleDataTable(...) called at [/var/www/vhosts/new-example.com/httpdocs/core/API/ResponseBuilder.php:77]
#6 Piwik_API_ResponseBuilder->getResponse(...) called at [/var/www/vhosts/new-example.com/httpdocs/core/API/Request.php:147]
#7 Piwik_API_Request->process(...) called at [/var/www/vhosts/new-example.com/httpdocs/plugins/API/Controller.php:25]
#8 Piwik_API_Controller->index(...) called at [:]
#9 call_user_func_array(...) called at [/var/www/vhosts/new-example.com/httpdocs/core/FrontController.php:125]
#10 Piwik_FrontController->dispatch(...) called at [/var/www/vhosts/new-example.com/httpdocs/index.php:47]

Keywords: CSV, Visitor Log

Matthieu Aubry
Owner

#97

Anonymous Piwik user

In 1510afc: Fixes #4063, allow csv renderer to handle arbitrarily nested data structures at least a little bit gracefully.

Anonymous Piwik user

In f0f5edd: Refs #4063, test for this fix.

Anonymous Piwik user anonymous-piwik-user added this to the 2.0 - Piwik 2.0 milestone
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Fixes #4063, allow csv renderer to handle arbitrarily nested data str…
…uctures at least a little bit gracefully.
1510afc
Philip Taffner sabl0r referenced this issue from a commit in sabl0r/piwik
Benaka diosmosis Refs #4063, test for this fix. f0f5edd
This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.