Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug]: Cookie Consent Error - access to a property when object is null - cbConfig.initialLsState.indexOf(allowedGroup) #1854

Open
BitPerformance opened this issue Dec 6, 2024 · 1 comment

Comments

@BitPerformance
Copy link

Operating system

Windows 11

Publii version

0.46.2 (build 16968)

Post editor

WYSIWYG editor

Bug description

There is an error with consent mode baner when enabled

Uncaught TypeError: Cannot read properties of null (reading 'indexOf')
    at allowCookieGroup

this happends on click when accepting consents.
it occures in any browser on user first engagement with site

Steps to reproduce

No response

Relevant log output

No response

@dziudek
Copy link
Collaborator

dziudek commented Dec 18, 2024

Hi,

Could you provide na URL to the website with this issue?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants