Warning - array_shift() expects parameter 1 to be array, string given - Piwik 2.10.0


#1

When I upgraded to 2.10
/www/piwik/console core:archive --url=http://www.xxx.com/piwik/ Output errors below

WARNING CoreConsole[2015-01-06 06:05:42] /www/piwik/core/CronArchive.php(1028): Warning - array_shift() expects parameter 1 to be array, string given - Piwik 2.10.0 - Please report this message in the Piwik forums: http://forum.piwik.org (please do a search first as it might have been reported already)

Please help me to see how to handle it? Thank you


(Matthieu Aubry) #2

Hi there, thanks for the report, we will fix it in strnatcasecmp() expects parameter 1 to be string, array given in /Piwik/core/DataTable/Filter/Sort.php on line 142 · Issue #6562 · matomo-org/matomo · GitHub