Closed asifrafeeq closed 5 years ago
hi, thanks a lot for such a nice library, I am using qrcode-library which is working fine in localhost, but when I upload it to online hosting it gives the error of Class 'BaconQrCode\Renderer\Image\Png' not found
Class 'BaconQrCode\Renderer\Image\Png' not found
My code is like this
$qrCode = (new QrCode($model->name)) ->setSize(250) ->setMargin(5) ->useForegroundColor(51, 153, 255); echo '<img src="' . $qrCode->writeDataUri() . '">';
please guide me how can I solve my issue
When you upload your code, do you also upload the vendor folder (composer?)
the yiisoft/extensions file was not updated, now it is working fine. thank u so much for guidance.
hi, thanks a lot for such a nice library, I am using qrcode-library which is working fine in localhost, but when I upload it to online hosting it gives the error of
Class 'BaconQrCode\Renderer\Image\Png' not found
My code is like this
please guide me how can I solve my issue