Title: Minify JS error
Last modified: April 26, 2021

---

# Minify JS error

 *  Resolved [pirod](https://wordpress.org/support/users/pirod/)
 * (@pirod)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/minify-js-error-2/)
 * When I activate the minify option, we get this JS error
 * a.widget is not a function on wpo-minify-header-23b67201.min.js:24:114
 * This breaks other plugins.

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

 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/minify-js-error-2/#post-14368290)
 * [@pirod](https://wordpress.org/support/users/pirod/) Can you please try to purge
   the Minified files and then enable the minify options and check if it helps to
   fix the issue?
 *  Thread Starter [pirod](https://wordpress.org/support/users/pirod/)
 * (@pirod)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/minify-js-error-2/#post-14369043)
 * Hi,
    It did not fix.
 * But if I deactivate the option “Process the Javascript files” it works.
    So the
   JS still not working on minify even after purge.
 * Mainly as I can see on pages using KB plugin from Echo:
    [https://www.echoknowledgebase.com/](https://www.echoknowledgebase.com/)
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/minify-js-error-2/#post-14370367)
 * [@pirod](https://wordpress.org/support/users/pirod/) 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?
 * Thanks,
    Harshad
 *  Thread Starter [pirod](https://wordpress.org/support/users/pirod/)
 * (@pirod)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/minify-js-error-2/#post-14402895)
 * Hi,
    did not solve. I have to uncheck also the “enable minify javascript”…
 *  [Harshad](https://wordpress.org/support/users/bornforphp/)
 * (@bornforphp)
 * [5 years, 1 month ago](https://wordpress.org/support/topic/minify-js-error-2/#post-14409793)
 * [@pirod](https://wordpress.org/support/users/pirod/) We have identified this 
   as a bug, Our development team is working on the issue and we will soon launch
   a new version which will fix the issue.

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

The topic ‘Minify JS 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/)

 * 5 replies
 * 2 participants
 * Last reply from: [Harshad](https://wordpress.org/support/users/bornforphp/)
 * Last activity: [5 years, 1 month ago](https://wordpress.org/support/topic/minify-js-error-2/#post-14409793)
 * Status: resolved