Title: adsense error
Last modified: April 23, 2021

---

# adsense error

 *  Resolved [Jota](https://wordpress.org/support/users/jotapov/)
 * (@jotapov)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/)
 * Hello, I am getting these adsense errors when minimizing
 * Image: [https://ibb.co/bK9NnTq](https://ibb.co/bK9NnTq)
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fadsense-error-6%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/adsense-error-6/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/adsense-error-6/page/2/?output_format=md)

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14358819)
 * [@jotapov](https://wordpress.org/support/users/jotapov/) Can you please try to
   purge the minified files from WP-Optimize > Minify > Minify status and check 
   if it helps to fix the issue?
 *  Thread Starter [Jota](https://wordpress.org/support/users/jotapov/)
 * (@jotapov)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14359036)
 * Hi, everything was purged and caches cleaned as well.
    Now I activated this option
   to try to eliminate the problem.
 * image: [https://ibb.co/FKkMqF3](https://ibb.co/FKkMqF3)
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14363570)
 * [@jotapov](https://wordpress.org/support/users/jotapov/) When the option is enabled,
   the content of each JavaScript file that is combined will be wrapped in its own“
   try / catch” statement. This means that if one file has an error, it should not
   impede execution of other, independent files.
 * Does that option helps to fix the issue?
 *  Thread Starter [Jota](https://wordpress.org/support/users/jotapov/)
 * (@jotapov)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14364309)
 * No. No, the error continues.
    what I do? do I leave that option activated or 
   deactivate it? Do you have any extensive setup guide?
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14368277)
 * [@jotapov](https://wordpress.org/support/users/jotapov/) I think you’ll have 
   to turn off the Minify option if you are getting errors in the console, As it
   will then not create the minify files.
 *  Thread Starter [Jota](https://wordpress.org/support/users/jotapov/)
 * (@jotapov)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14369143)
 * Hi, can you isolate the minified only of the java script of google ads?
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14370370)
 * [@jotapov](https://wordpress.org/support/users/jotapov/) Can you please uncheck
   the option “Enable merging of JavaScript files” from WP-Optimize > Minify > Javascript
   and click Save settings button and check if it helps to fix the issue?
 *  Thread Starter [Jota](https://wordpress.org/support/users/jotapov/)
 * (@jotapov)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14370375)
 * I already did that days ago and the error did not go away
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14370487)
 * [@jotapov](https://wordpress.org/support/users/jotapov/) What happens if you 
   disable “Process Javacript” from WP-Optimize > Minify?
 *  Thread Starter [Jota](https://wordpress.org/support/users/jotapov/)
 * (@jotapov)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14371403)
 * hi, that WPO warning disappears but the duplicate tag error continues
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14375673)
 * [@jotapov](https://wordpress.org/support/users/jotapov/) Can you please attach
   a screenshot of other error you get in console?
 *  Thread Starter [Jota](https://wordpress.org/support/users/jotapov/)
 * (@jotapov)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14375883)
 * Hi, picture: [https://ibb.co/bWFymJn](https://ibb.co/bWFymJn)
    url: [https://bit.ly/3e0CTTc](https://bit.ly/3e0CTTc)
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14382581)
 * [@jotapov](https://wordpress.org/support/users/jotapov/) Sorry for the delay!
 * That error is originally generated from Adsense script, Are you adding the AdSense
   script multiple times in your page?
 *  Thread Starter [Jota](https://wordpress.org/support/users/jotapov/)
 * (@jotapov)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14383123)
 * Hello, I only have one code, I insert it with my ad plugin. I use the google 
   site kit, but I have the adsense function disabled, I do not understand why I
   get a duplicate tag
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/#post-14383506)
 * [@jotapov](https://wordpress.org/support/users/jotapov/) Can you please try to
   disable other plugins except WP-Optimize and AdSense plugin and check if you 
   still see the same error?

Viewing 15 replies - 1 through 15 (of 20 total)

1 [2](https://wordpress.org/support/topic/adsense-error-6/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/adsense-error-6/page/2/?output_format=md)

The topic ‘adsense error’ is closed to new replies.

 * ![](https://ps.w.org/wp-optimize/assets/icon-256x256.png?rev=1552899)
 * [WP-Optimize – Cache, Compress images, Minify & Clean database to boost page speed & performance](https://wordpress.org/plugins/wp-optimize/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-optimize/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-optimize/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-optimize/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-optimize/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-optimize/reviews/)

 * 20 replies
 * 2 participants
 * Last reply from: [Jota](https://wordpress.org/support/users/jotapov/)
 * Last activity: [5 years, 3 months ago](https://wordpress.org/support/topic/adsense-error-6/page/2/#post-14385084)
 * Status: resolved