Title: Javascript error on AAM generated by AAM
Last modified: August 31, 2016

---

# Javascript error on AAM generated by AAM

 *  Resolved [qurgh](https://wordpress.org/support/users/qurgh/)
 * (@qurgh)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-on-aam-generated-by-aam/)
 * I recently updated to the latest version of AAM and I can no longer select users
   or roles to edit. At the top of the page is an error about Javascript. When I
   check the console I see:
 * datatables.min.js:182 Uncaught TypeError: Cannot read property ‘pageButton’ of
   undefined
    load-scripts.php?c=0&load[]=jquery-core,jquery-migrate,jquery-ui-core,
   jquery-ui-widget,jquery-ui-mo…:5 Synchronous XMLHttpRequest on the main thread
   is deprecated because of its detrimental effects to the end user’s experience.
   For more help, check [http://xhr.spec.whatwg.org/](http://xhr.spec.whatwg.org/).
 * The database.min.js file is the one that AAM is loading, so I can’t follow the
   advice of other threads which would be to disable the conflicting plugin.
 * Any help would be most appreciated.
 * Thanks.
 * [https://wordpress.org/plugins/advanced-access-manager/](https://wordpress.org/plugins/advanced-access-manager/)

Viewing 1 replies (of 1 total)

 *  [vasyl_m](https://wordpress.org/support/users/vasyl_m/)
 * (@vasyl_m)
 * [10 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-on-aam-generated-by-aam/#post-6917211)
 * Hi **qurgh**,
 * Thank you for posting your questions.
    It is really hard to say what plugin causes
   this error. There are a lot of plugins in WordPress repository that print unnecessary
   javascript libraries and this what causes issues.
 * The only way to find-out which one does it is to deactivate each plugin one-by-
   one.
 * Sorry but at this point there is no other solution for that.
 * Regards,
    Vasyl

Viewing 1 replies (of 1 total)

The topic ‘Javascript error on AAM generated by AAM’ is closed to new replies.

 * ![](https://ps.w.org/advanced-access-manager/assets/icon-256x256.png?rev=3447421)
 * [Advanced Access Manager – Access Governance for WordPress](https://wordpress.org/plugins/advanced-access-manager/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-access-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-access-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-access-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-access-manager/reviews/)

 * 1 reply
 * 2 participants
 * Last reply from: [vasyl_m](https://wordpress.org/support/users/vasyl_m/)
 * Last activity: [10 years, 5 months ago](https://wordpress.org/support/topic/javascript-error-on-aam-generated-by-aam/#post-6917211)
 * Status: resolved