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
protected static $availableEngines = array(
Adding 'Edge' to the array has resolved the issue.
This looks like a bug since in yaml and regex, Edge is defined.
Do you know by any chance the log file line that can reproduce this bug? it would be great to be able to reproduce such problem so we could fix it. thanks for sending more info if possible.
That's an error in device detector. I'll fix that.
fixed in https://github.com/piwik/device-detector/commit/984725994f75ddb663caa0bbfef0798862afd23b
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.