{"id":8204108,"date":"2016-09-20T21:39:45","date_gmt":"2016-09-20T21:39:45","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/javascript-errors-for-certain-users-in-admin\/"},"modified":"2016-09-20T21:40:32","modified_gmt":"2016-09-20T21:40:32","slug":"javascript-errors-for-certain-users-in-admin","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/javascript-errors-for-certain-users-in-admin\/","title":{"rendered":"JavaScript errors for certain users in admin"},"content":{"rendered":"<p>Hey guys,<\/p>\n<p>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.<\/p>\n<p>The errors as listed in Chrome&#8217;s console:<br \/>\n<strong>Uncaught TypeError: Cannot read property &#8216;id&#8217; of undefined<br \/>\nUncaught TypeError: Cannot read property &#8216;av&#8217; of undefined<br \/>\nUncaught TypeError: QTags is not a constructor<br \/>\nUncaught TypeError: Cannot read property &#8216;replace&#8217; of undefined<\/strong><\/p>\n<p>These errors were preventing a LearnDash script from doing what it needed to do. <\/p>\n<p>When I deregistered the cue-mce-view script for these users, the errors were gone and LearnDash worked as expected.<\/p>\n<p>Thought you&#8217;d like to know&#8230;<\/p>\n<p>John<\/p>\n","protected":false},"template":"","class_list":["post-8204108","topic","type-topic","status-publish","hentry"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8204108","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":1,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8204108\/revisions"}],"predecessor-version":[{"id":8204112,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/8204108\/revisions\/8204112"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=8204108"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}