• Hello, if i active the option “Load JavaScript deferred” on WP Rocket the JS script of cookie notice does’t work.

    I have this error on console:
    t.fn.getCookieNotice is not a function

    I checked the code and it appears this error is caused by the fact that WP Rocket adds a defer to the JS with this option and in JS file $(document).ready its call before assignments.

    The quick fix may be to move the assignments before $(document).ready, its work for me

The topic ‘Bug with “Load JavaScript deferred” WP Rocket’ is closed to new replies.