QR code generation doesn't work without a logo file

Created on 28 September 2023, over 1 year ago
Updated 3 January 2024, about 1 year ago

Problem/Motivation

Steps to reproduce

  • Install this module
  • apply the endroid_qr_code field formatter to a link field
  • visit a page that uses the display with this formatter
  • See that no image is loaded
  • check logs
"NOTICE: PHP message: ValueError: Path cannot be empty in /var/www/html/vendor/endroid/qr-code/src/ImageData/LogoImageData.php on line 23 #0 /var/www/html/vendor/endroid/qr-code/src/ImageData/LogoImageData.php(23): file_get_contents('')"

Proposed resolution

Make the logo file config optional, or at least fix the related issue that fixes the config page.

🐛 Bug report
Status

Fixed

Version

4.0

Component

Code

Created by

🇺🇸United States MegaKeegMan

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024