Fatal error: Uncaught Error: Undefined constant chillerlan\QRCode\Output\QROutputInterface::MARKUP_SVG #194
-
Hi, I installed the latest version with composer and tried the svg example. Fatal error: Uncaught Error: Undefined constant chillerlan\QRCode\Output\QROutputInterface::MARKUP_SVG Apologies if I am missing something super obvious. Thanks |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Hi, i suppose the latest version you installed is |
Beta Was this translation helpful? Give feedback.
Hi, i suppose the latest version you installed is
v4.3.x
and you tried to run an example fromdev-main
. The examples you are looking for are in the 4.x branch: https://github.com/chillerlan/php-qrcode/tree/v4.3.xAlternatively, you could install the v5.0 beta, which is the one that matches the main branch.