• Hey guys,

    My client has Cue installed on two of their sites along with the LearnDash LMS plugin. After the latest Cue update we noticed four JS errors on certain admin pages for non-Admin or non-Editor users.

    The errors as listed in Chrome’s console:
    Uncaught TypeError: Cannot read property ‘id’ of undefined
    Uncaught TypeError: Cannot read property ‘av’ of undefined
    Uncaught TypeError: QTags is not a constructor
    Uncaught TypeError: Cannot read property ‘replace’ of undefined

    These errors were preventing a LearnDash script from doing what it needed to do.

    When I deregistered the cue-mce-view script for these users, the errors were gone and LearnDash worked as expected.

    Thought you’d like to know…

    John

    • This topic was modified 7 years, 7 months ago by John Sundberg.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Brady Vercher

    (@bradyvercher)

    Thanks for the report, John! Did Chrome indicate which particular scripts were generating those errors? It seems like they could be related to mce-view.js in Cue, but it’s a pretty basic script that extends core’s MCE views and I’m not able to replicate them locally.

    Thread Starter John Sundberg

    (@bhwebworks)

    Hi Brady,

    Yeah, it did, more or less.

    Uncaught TypeError: Cannot read property ‘av’ of undefined indicated mce-view.js at line 63.

    The other three errors fell under the load-scripts.php compilation.

    Plugin Author Brady Vercher

    (@bradyvercher)

    Would you mind getting in touch with me through the contact form on our site? If I could get a copy of LearnDash, I’d like to take a closer look to see if there’s something we need to do to make that script more robust. Thanks!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘JavaScript errors for certain users in admin’ is closed to new replies.