Recently I have been getting error 502 while importing logs in piwik using log-import.
In apache error logs, only thing written was "Detected browser engine was not found in $availableEngines".
On further debug, I found the same is an exception thrown in the below code file
On logging the engine received by Engine.php, it came out to be Edge which is missing in the array
$availableEngines. protected static $availableEngines = array( 'WebKit', 'Blink', 'Trident', 'Text-based', 'Dillo', 'iCab', 'Presto', 'Gecko', 'KHTML', 'NetFront', );
Adding 'Edge' to the array has resolved the issue.
This looks like a bug since in yaml and regex, Edge is defined.
That's an error in device detector. I'll fix that.
Thanks @sgiehl :+1: could you update Device detector used in Piwik so we have the fix in 2.14.1?
Still working on some other improvements. But I'll release a new version
the next days...
Perfect! it will be 1 week at least until 2.14.1 so we have some time
Hi @mattab, thanks for accepting the bug and its solution.