Strnatcasecmp() expects parameter 1 to be string, array given in


#1

When I want an overview of the visitors log the following thing happends.

Warning: strnatcasecmp() expects parameter 1 to be string, array given in
*****/public_html/statistieken/core/DataTable/Filter/Sort.php on line 140

Backtrace -->

#0 Piwik\Error::errorHandler(…) called at [:]
#1 strnatcasecmp(…) called at [/public_html/statistieken/core/DataTable/Filter/Sort.php:140]
#2 Piwik\DataTable\Filter\Sort->naturalSort(…) called at [:]
#3 usort(…) called at


(Matthieu Aubry) #2

@knelus are you using 2.7.0? can you reproduce this error on the demo?


#3

Hi Matt,

On the demo the visitors log works perfect.
But not on my server. I work with php 5.3 so I asked my hosting provider to do some research about upgrading my php version.


(Stefan Giehl) #4

Someone in the german forum has the same issue after upgrading from 2.7 to 2.8.
@knelus are you still having that issue?


(Matthieu Aubry) #5

Hi there,
If you still experience such a bug in 2.8.3 then please open a new issue at: Issues · matomo-org/piwik · GitHub


#6

hmm, i thought I turned on email replies… o wel…
But yes, still having the problem. I will have a look on the german forum and if that doesn’t fix it i will report the bug on github.

Thnx for replying guys.