- 🇩🇪Germany Mortarion
That patch does not work, since I get the same errors when there are elements of
.js-cookie-content-blocker
Since Drupal has deprecated
core/jquery.once
i think that this is the source of the problem. Usingcore/jquery.once.bc
as an additional dependency of thecookie_content_blocker.libraries.yml
fixes it for me, but just for now. So this is not the solution.The whole
cookieContentBlocker.js
needs to be renewed to be compatible with Drupal 10. See the following links: - Status changed to Needs work
almost 2 years ago 11:22am 24 January 2023 - 🇩🇪Germany tinytina
I came across the same error trying to use this module(version 2.1.1) with drupal 10.
Here is my patch: https://www.drupal.org/files/issues/2023-03-16/cookie_content_blocker-d1... →
It should fix both https://www.drupal.org/node/3104677 → and https://www.drupal.org/node/3158256 →