Title: JS console error
Last modified: September 16, 2025

---

# JS console error

 *  Resolved [brunoflavorexp](https://wordpress.org/support/users/brunoflavorexp/)
 * (@brunoflavorexp)
 * [8 months, 4 weeks ago](https://wordpress.org/support/topic/js-console-error-6/)
 *     ```wp-block-code
       [Error] TypeError: null is not an object (evaluating 'highlightLink.querySelector')	updateAdsCount (industry-events:1609)	(anonymous function) (industry-events:1434)	Global Code (industry-events:1622)
       ```
   
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fjs-console-error-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 1 replies (of 1 total)

 *  Plugin Support [ahmeddr](https://wordpress.org/support/users/ahmeddr/)
 * (@ahmeddr)
 * [8 months, 3 weeks ago](https://wordpress.org/support/topic/js-console-error-6/#post-18646867)
 * Hi there,
 * Thanks for your reply.
 * The JavaScript error is related to [the highlight ads function](https://wpadvancedads.com/manual/ad-health/#Ad_Health_in_the_frontend)
   of the Ad Health option. It shouldn’t affect ad delivery of ads or the plugin’s
   main functionality. 
   I wasn’t able to replicate the issue on my side.
 * I recommend the following steps:
    1. Update all Advanced Ads add-ons to the latest versions and check if the issue
       persists.
    2. If it does, [use the Health Check plugin to test](https://wpadvancedads.com/plugin-theme-conflicts/#Check_for_conflicts_using_the_Health_Check_plugin)
       whether the error also occurs when only the Advanced Ads plugins are active 
       in troubleshooting mode. From there, you can narrow down the culprit.
    3. Disable all browser extensions while testing to ensure they are not causing 
       the problem.
 * Thank you!
 * Best regards,

Viewing 1 replies (of 1 total)

The topic ‘JS console error’ is closed to new replies.

 * ![](https://ps.w.org/advanced-ads/assets/icon-256x256.gif?rev=2773443)
 * [Advanced Ads – Ad Manager & AdSense](https://wordpress.org/plugins/advanced-ads/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/advanced-ads/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-ads/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-ads/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-ads/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-ads/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [ahmeddr](https://wordpress.org/support/users/ahmeddr/)
 * Last activity: [8 months, 3 weeks ago](https://wordpress.org/support/topic/js-console-error-6/#post-18646867)
 * Status: resolved