pluginsGLPI / barcode

GNU Affero General Public License v3.0
36 stars 34 forks source link

building Codes failes #110

Open gmed-ed opened 2 years ago

gmed-ed commented 2 years ago

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 commented 2 years ago

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?