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

building Codes failes #110

Open
gmed-ed opened this issue Aug 19, 2022 · 1 comment
Open

building Codes failes #110

gmed-ed opened this issue Aug 19, 2022 · 1 comment

Comments

@gmed-ed
Copy link

gmed-ed commented Aug 19, 2022

I got this error by trying to get any Bar- or QRCode:

glpiphplog.CRITICAL: *** Uncaught Exception Error: Call to undefined method QRcode::png() in /var/www/glpi/plugins/barcode/inc/qrcode.class.php at line 159
Backtrace :
plugins/barcode/inc/qrcode.class.php:381 PluginBarcodeQRcode->generateQRcode()
src/MassiveAction.php:1405 PluginBarcodeQRcode::processMassiveActionsForOneItemtype()
src/MassiveAction.php:1383 MassiveAction->processForSeveralItemtypes()
front/massiveaction.php:59 MassiveAction->process()

would be nice to get some hints, how to solve this issue.

Thanks a lot

@gmed-ed
Copy link
Author

gmed-ed commented Aug 24, 2022

Today, i found what causes this to happen.
Besides the barcode-plugin, we're using the pdf-plugin in Version 2.1.0.
As long as this plugin is activated, we're unable to create qr- or barcodes anymore.
If we disable the pdf-plugin, everything works fine with the barcode-plugin.

pdf-plugin uses tcppdf sind Version 2.0.x.
Maybe this leds to the issues with barcode-plugin?

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