matomo-org / plugin-DeviceDetectorCache

Makes tracking in Matomo Analytics faster by detecting many devices, operating systems, bots, and browsers from a cache.
https://matomo.org
GNU General Public License v3.0
3 stars 7 forks source link

Warning in DeviceDetectorCache around ClientHints #60

Closed tsteur closed 12 months ago

tsteur commented 12 months ago

We see below log quite often in the logs. Possibly there is an issue when clienthints/browser feature detection is disabled or so?

PHP Warning: Trying to access array offset on value of type null in plugins/DeviceDetectorCache/CachedEntry.php on line 40

Not sure if this could be causing any issues during tracking? Maybe it's an easy fix to check if value is set?