Skip to content

cookiebar.js does not load when using new Twig-Template in Contao 5.6.6 #284

@mayerthomas

Description

@mayerthomas

Prerequisites

  • I checked for duplicate issues (open and closed)
  • I am using the latest stable version/release of the Contao Cookiebar
  • I made sure that my own template changes, CSS or JS do not interfere with the Contao Cookiebar
  • This issue contains only one bug.
  • This issue is not a question, not a feature request and I have read the documentation and pinned issues

Please select the topic(s) that most closely match your concern

Template (HTML/Twig)

What operating system(s) are you seeing the problem on?

Windows

What browser(s) are you experiencing the problem on?

Chrome, Firefox, Microsoft Edge

Description

I have a working Cookiebar-Setup with the Default-Layout in a Contao-5.6.6-installation.
When i switch to the twig-layout with slots, the Cookiebar does not show up.

Error in Chrome-Console;
Uncaught (in promise) Error: A listener indicated an asynchronous response by returning true, but the message channel closed before a response was received

Relevant log output

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions