Random Occurring issue with logon

Hi Folks,

I wonder if someone could give me some guidance on what to look at next.
I have an issue where by my modest install will start to display the error below but still log the tracking hits.
It appears when visiting the administrative logon screen.

It usually resolves when it updates.

ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] Uncaught exception: TypeError: Cannot access offset of type string on string in /home/*****/public_html_sub/dcstats/vendor/matomo/device-detector/Parser/AbstractParser.php:408
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] Stack trace:
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #0 [internal function]: DeviceDetector\Parser\AbstractParser::DeviceDetector\Parser\{closure}(NULL, '/home/*****/...')
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #1 /home/*****/public_html_sub/dcstats/vendor/matomo/device-detector/Parser/AbstractParser.php(409): array_reduce(Array, Object(Closure))
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #2 /home/*****/public_html_sub/dcstats/vendor/matomo/device-detector/Parser/Bot.php(69): DeviceDetector\Parser\AbstractParser->preMatchOverall()
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #3 /home/*****/public_html_sub/dcstats/vendor/matomo/device-detector/DeviceDetector.php(842): DeviceDetector\Parser\Bot->parse()
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #4 /home/*****/public_html_sub/dcstats/vendor/matomo/device-detector/DeviceDetector.php(607): DeviceDetector\DeviceDetector->parseBot()
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #5 /home/*****/public_html_sub/dcstats/core/DeviceDetector/DeviceDetectorFactory.php(71): DeviceDetector\DeviceDetector->parse()
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #6 /home/*****/public_html_sub/dcstats/core/DeviceDetector/DeviceDetectorFactory.php(36): Piwik\DeviceDetector\DeviceDetectorFactory->getDeviceDetectionInfo('Mozilla/5.0 (Wi...', Array)
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #7 /home/*****/public_html_sub/dcstats/core/SupportedBrowser.php(46): Piwik\DeviceDetector\DeviceDetectorFactory->makeInstance('Mozilla/5.0 (Wi...', Array)
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #8 /home/*****/public_html_sub/dcstats/core/FrontController.php(408): Piwik\SupportedBrowser::checkIfBrowserSupported()
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #9 /home/*****/public_html_sub/dcstats/core/dispatch.php(31): Piwik\FrontController->init()
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #10 /home/*****/public_html_sub/dcstats/index.php(25): require_once('/home/*****/...')
ERROR Piwik\ExceptionHandler[2024-04-14 12:32:41 UTC] [269a8] #11 {main}

Thanks for any help.

Hi @davren

Where does it appear exactly?
Can you still login?

I don’t see the Matomo version in the error you provided. Isn’t any?

Sorry, it’s deployed via cpanel and it’s 5.0.3.
The error is shown on every page that I try to load except for the logging urls and I’m unable to log on as the screen just that error

Hi @davren
I think you should create a bug in the Matomo GitHub repo with all you provided there:

Then let a link in this thread to your GitHub request…