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
Hello, i'm following this tutorial and when i'm going to register the client in my newsboard app, this error always appear.
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Class 'BaconQrCode\Renderer\Image\Png' not found
public function getQRCodeInline($company, $holder, $secret, $size = 200, $encoding = 'utf-8')
{
$url = $this->getQRCodeUrl($company, $holder, $secret);
$renderer = new Png();
$renderer->setWidth($size);
$renderer->setHeight($size);
$bacon = new BaconQrCodeWriter($renderer);
$data = $bacon->writeString($url, $encoding);
return 'data:image/png;base64,'.base64_encode($data);
}
can you help me with that?
remembering that your bacon package is already installed, and i did it again, revert on gitkraken and did it again all the packages and its not working :(
The text was updated successfully, but these errors were encountered:
The problems comes from the version of the bacon/bacon-qr-code. This pack is not compatible with the last-stable version of bacon/bacon-qr-code (^2.0.0). This lib should requires the library in a certain revision range (^1.0.0).
Hello, i'm following this tutorial and when i'm going to register the client in my newsboard app, this error always appear.
Symfony \ Component \ Debug \ Exception \ FatalThrowableError (E_ERROR)
Class 'BaconQrCode\Renderer\Image\Png' not found
public function getQRCodeInline($company, $holder, $secret, $size = 200, $encoding = 'utf-8')
{
$url = $this->getQRCodeUrl($company, $holder, $secret);
can you help me with that?
remembering that your bacon package is already installed, and i did it again, revert on gitkraken and did it again all the packages and its not working :(
The text was updated successfully, but these errors were encountered: