Memory problem generating QR code

Created on 23 July 2025, about 1 month ago

Problem/Motivation

When I install commerce ticketing in a clean version of Drupal 9.5, everything works fine except the QR code display option. If I use "Ticket QR Code", I can't display the ticket because everything runs out of memory.

Here are some of the errors in the Apache2 error.log file:

[Wed Jul 23 21:02:11.596118 2025] [php:error] [pid 237682:tid 237682] [client 73.191.51.177:58610] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/xxxcom/tk/web/core/lib/Drupal/Core/Cache/ApcuBackend.php on line 90, referer: http://xxx.com/tk/web/admin/commerce/tickets
[Wed Jul 23 21:02:21.371220 2025] [php:error] [pid 237699:tid 237699] [client 73.191.51.177:49498] PHP Fatal error: Allowed memory size of 268435456 bytes exhausted (tried to allocate 20480 bytes) in /var/www/xxxcom/tk/web/core/lib/Drupal/Core/Cache/CacheableMetadata.php on line 136, referer: http://xxx.com/tk/web/admin/commerce/tickets

Steps to reproduce

Create ticket.

Choose "Ticket QR Code" for the display option for the QR field.

Data model changes

πŸ› Bug report
Status

Active

Version

2.0

Component

Code

Created by

πŸ‡ΊπŸ‡ΈUnited States bogdog400

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

Comments & Activities

Production build 0.71.5 2024