Daniel-KM / Omeka-plugin-Stats

Plugin for Omeka that counts views of pages in order to know the least popular record and the most viewed pages. It provides useful infos on visitors too (language, referrer...). So this is an analytics tool like Piwik, Google Analytics and other hundreds of such web loggers, but integrated and adapted.
10 stars 2 forks source link

Error on the home page after installing Stats plugin #16

Closed hkaouri closed 2 years ago

hkaouri commented 2 years ago

Hello,

i am getting the following error after installing Stats plugin on Omeka classic. Please help on how to fix this error.

Deprecated: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/aukoralh/public_html/plugins/Stats/models/Hit.php on line 563

Deprecated: strpos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in /home/aukoralh/public_html/plugins/Stats/views/helpers/Stats.php on line 432

Daniel-KM commented 2 years ago

Hi, It works fine, but you use a too much recent version of php.

On a production server, don't display deprecation messages.