Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bug using QRcode in laravel 5.5 #178

Open
ylapin opened this issue Jul 6, 2023 · 0 comments
Open

bug using QRcode in laravel 5.5 #178

ylapin opened this issue Jul 6, 2023 · 0 comments

Comments

@ylapin
Copy link

ylapin commented Jul 6, 2023

this is a general error and it's not important which number I put always the same error
also it's a problem because I wanted to encode a url, not a number but anyway it's not working

production.ERROR: imagecreate(): Invalid image dimensions {"exception":"[object] (ErrorException(code: 0): imagecreate(): Invalid image dimensions at /projects/vendor/milon/barcode/src/Milon/Barcode/DNS1D.php:171)
[stacktrace]
#0 [internal function]: Illuminate\Foundation\Bootstrap\HandleExceptions->handleError(2, 'imagecreate(): ...', '/projec...', 171, Array)
#1 /projects/vendor/milon/barcode/src/Milon/Barcode/DNS1D.php(171): imagecreate(0, 30)
#2 /projects/vendor/milon/barcode/src/Milon/Barcode/DNS1D.php(2456): Milon\Barcode\DNS1D->getBarcodePNG('438436', 'QRCODE')
#3 /projects/app/Library/functions.php(278): Milon\Barcode\DNS1D::__callStatic('getBarcodePNG', Array)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant