Title: JS Error on backend causing issues
Last modified: July 22, 2024

---

# JS Error on backend causing issues

 *  Resolved [katmacau](https://wordpress.org/support/users/katmacau/)
 * (@katmacau)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/js-error-on-backend-causing-issues/)
 * Hello. I’ve noticed your plugin throwing JS issues on the website backend. For
   example on the plugins page:
 * _Uncaught TypeError: jQuery(…).tooltip is not a function
   [https://mydomain.com.au/wp-content/plugins/advance-wc-analytics/assests/js/awca.js:39](https://mydomain.com.au/wp-content/plugins/advance-wc-analytics/assests/js/awca.js:39)
   jQuery 13awca.js:39:27[https://mydomain.com.au/wp-content/plugins/advance-wc-analytics/assests/js/awca.js:39](https://mydomain.com.au/wp-content/plugins/advance-wc-analytics/assests/js/awca.js:39)
   jQuery 13
 * I can’t then run updates on the updates page properly because the plugin JS error
   is interrupting the process. If i disable your plugin i can run updates.
   Could
   you make sure JS files that aren’t needed, on the plugins page for example, are
   not loaded? That would solve the plugins issue quickly.

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

 *  Thread Starter [katmacau](https://wordpress.org/support/users/katmacau/)
 * (@katmacau)
 * [1 year, 10 months ago](https://wordpress.org/support/topic/js-error-on-backend-causing-issues/#post-17911231)
 * Hi. I can see in line 1281 of class-awca-auth.php that you are enqueuing ‘awca_js’
   for ALL admin pages. I would suggest making sure you are only enqueuing the JS
   file on the admin pages that need it, like the dashboard to improve site performance
   and reduce conflicts.
 *  Plugin Author [Passionate Brains](https://wordpress.org/support/users/passionatebrains/)
 * (@passionatebrains)
 * [1 year, 7 months ago](https://wordpress.org/support/topic/js-error-on-backend-causing-issues/#post-18095776)
 * Hi Katmacau,
 * Thank you for the suggestion. We’ve released a new version of the plugin that
   resolves the issue by loading only the necessary code on admin pages outside 
   of the plugin settings page.
 * Please let me know if you’re still experiencing any issues.
 * Best regards,
   Passionate Brains

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

The topic ‘JS Error on backend causing issues’ is closed to new replies.

 * ![](https://ps.w.org/advance-wc-analytics/assets/icon-256x256.png?rev=3329150)
 * [AWCA - The Great Analytics Insights for Your eStore](https://wordpress.org/plugins/advance-wc-analytics/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advance-wc-analytics/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advance-wc-analytics/)
 * [Active Topics](https://wordpress.org/support/plugin/advance-wc-analytics/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advance-wc-analytics/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advance-wc-analytics/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Passionate Brains](https://wordpress.org/support/users/passionatebrains/)
 * Last activity: [1 year, 7 months ago](https://wordpress.org/support/topic/js-error-on-backend-causing-issues/#post-18095776)
 * Status: resolved