Harborn-digital/cookie-consent-bundle

An exception has been thrown during the rendering of a template ("Not Found").

Closed this issue · 1 comments

Hi,

I've just installed this bundle, everything was created by flex. I've just add esi in framework
I'm using symfony 5.4

I changed my packages/ch_cookie_consent.yaml to this

ch_cookie_consent:
    theme: 'light'
    categories:
        - 'analytics'
        - 'tracking'
        - 'marketing'
        - 'social_media'
    position: 'bottom' # top, bottom
    simplified: true

When i try to render the page i got An exception has been thrown during the rendering of a template ("Not Found").

image

My bad, it was my route. I had a CMS-like route /{url}, to fix it i just needed to load cooki-consent route before it