barcode icon indicating copy to clipboard operation
barcode copied to clipboard

building Codes failes

Open gmed-ed opened this issue 3 years ago • 1 comments

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 avatar Aug 19 '22 08:08 gmed-ed

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?

gmed-ed avatar Aug 24 '22 10:08 gmed-ed