qr-code-bundle icon indicating copy to clipboard operation
qr-code-bundle copied to clipboard

Symfony 6 (Class Not Found Exception): Attempted to load class "Builder" from namespace "Endroid\QrCode\Builder"

Open ok-ttc opened this issue 3 years ago • 1 comments

Hello,

After the update to Symfony 6, I receive this error:

Attempted to load class "Builder" from namespace "Endroid\QrCode\Builder". Did you forget a "use" statement for "PhpParser\Builder"?

I am using Twig to display QR Codes. Like so:

{% set share_text = ib.BusinessPage.BusinessName %}

<img src="{{ qr_code_url(url) }}" />

I am truly no expert and am learning. Does anyone have an idea what might be causing this?

Thank you for your guidance in this.

ok-ttc avatar Jul 01 '22 17:07 ok-ttc

Check if your config is really updated: https://github.com/endroid/qr-code-bundle/tree/master/.install/symfony/config/packages Then the error should be gone.

tobearlabs avatar Aug 03 '22 08:08 tobearlabs