You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi,
I a using the latest version of this library. Now theres an issue. Not sure if its a bug.
I already have this library installed PiwikDeviceDetector but i keep getting the following exception error. You need to install the package piwik/device-detector to use this provider. I have done all i could to debug but i can seem to find a solution. The only one is to comment out the following:
public function __construct(DeviceDetector $parser = null)
{
if ($parser === null && ! file_exists('vendor/' . $this->getPackageName() . '/composer.json')) {
Icommented this line - // throw new PackageNotLoadedException('You need to install the package ' . $this->getPackageName() . ' to use this provider');
}
$this->parser = $parser;
}
I moved the requested library into the vendor/ directory as its supposed to, but it didn't solve either.
I am on windows and it doesn't allow this kind of file naming structure piwik/device-detector, because i believe this is the directory that is being looked, and since it can not be located, an error is thrown.
Any suggestions?
The text was updated successfully, but these errors were encountered:
Hi,
I a using the latest version of this library. Now theres an issue. Not sure if its a bug.
I already have this library installed
PiwikDeviceDetector
but i keep getting the following exception error.You need to install the package piwik/device-detector to use this provider
. I have done all i could to debug but i can seem to find a solution. The only one is to comment out the following:public function __construct(DeviceDetector $parser = null)
I moved the requested library into the
vendor/
directory as its supposed to, but it didn't solve either.I am on windows and it doesn't allow this kind of file naming structure
piwik/device-detector
, because i believe this is the directory that is being looked, and since it can not be located, an error is thrown.Any suggestions?
The text was updated successfully, but these errors were encountered: