Hello i do fix like that: the code
// Can't identify browser version
$this->majorVersion = 0;
$this->minorVersion = 0;
JLog::add("Can't identify browser version. Agent: " . $this->agent, JLog::NOTICE);
been removed from browser.php and probably i never gona see notice like Can’t identify browser version. Agent, but its work for me like this way so Thanks 🙂
OOo all the code is like that now
protected function identifyBrowserVersion()
{
if (preg_match('|Version[/ ]([0-9.]+)|', $this->agent, $version))
{
list ($this->majorVersion, $this->minorVersion) = explode('.', $version[1]);
return;
}
}