Title: JavaScript errors for certain users in admin
Last modified: September 20, 2016

---

# JavaScript errors for certain users in admin

 *  [John Sundberg](https://wordpress.org/support/users/bhwebworks/)
 * (@bhwebworks)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/javascript-errors-for-certain-users-in-admin/)
 * 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 9 years, 7 months ago by [John Sundberg](https://wordpress.org/support/users/bhwebworks/).

Viewing 3 replies - 1 through 3 (of 3 total)

 *  Plugin Author [Brady Vercher](https://wordpress.org/support/users/bradyvercher/)
 * (@bradyvercher)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/javascript-errors-for-certain-users-in-admin/#post-8204209)
 * 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](https://wordpress.org/support/users/bhwebworks/)
 * (@bhwebworks)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/javascript-errors-for-certain-users-in-admin/#post-8204246)
 * 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](https://wordpress.org/support/users/bradyvercher/)
 * (@bradyvercher)
 * [9 years, 7 months ago](https://wordpress.org/support/topic/javascript-errors-for-certain-users-in-admin/#post-8235667)
 * Would you mind getting in touch with me through the [contact form](https://audiotheme.com/contact/)
   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.

 * ![](https://ps.w.org/cue/assets/icon.svg?rev=1424808)
 * [Cue by AudioTheme.com](https://wordpress.org/plugins/cue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/cue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/cue/)
 * [Active Topics](https://wordpress.org/support/plugin/cue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/cue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/cue/reviews/)

 * 3 replies
 * 2 participants
 * Last reply from: [Brady Vercher](https://wordpress.org/support/users/bradyvercher/)
 * Last activity: [9 years, 7 months ago](https://wordpress.org/support/topic/javascript-errors-for-certain-users-in-admin/#post-8235667)
 * Status: not resolved