Title: Javascript error with WP4.1
Last modified: August 22, 2016

---

# Javascript error with WP4.1

 *  Resolved [gordonbrow](https://wordpress.org/support/users/gordonbrow/)
 * (@gordonbrow)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-with-wp41/)
 * I am getting the following Javascript error after update to WP 4.1.
 * upcp-jquery-functions.js?ver=4.1:25 Uncaught ReferenceError: maintain_filtering
   is not defined
    —————————————————– Uncaught ReferenceError: maintain_filtering
   is not defined —————————————————– });
 * function addClickHandlers() {
    if (maintain_filtering != “No”) { jQuery(“.upcp-
   catalogue-link”).click(function(event){ event.preventDefault(); var link = jQuery(
   this).attr(‘href’); jQuery(“#upcp-hidden-filtering-form”).attr(‘action’, link);
   jQuery(“#upcp-hidden-filtering-form”).submit();
 * Is there a work around for this? a huge amount of time has been dedicated to 
   entering the data and this error is causing problems with other plugins and the
   theme itself. The URL is [http://newsite.comprobusiness.com/](http://newsite.comprobusiness.com/)
 * [https://wordpress.org/plugins/ultimate-product-catalogue/](https://wordpress.org/plugins/ultimate-product-catalogue/)

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

 *  Plugin Author [Rustaurius](https://wordpress.org/support/users/rustaurius/)
 * (@rustaurius)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-with-wp41/#post-5603778)
 * Hi Gordon,
 * Sorry about the error. It should be gone with version 2.5.9 of the plugin. Please
   let me know if that’s not the case for you.
 *  Thread Starter [gordonbrow](https://wordpress.org/support/users/gordonbrow/)
 * (@gordonbrow)
 * [11 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-with-wp41/#post-5603786)
 * Thanks for the quick response. I fixed it by changing from AJAX Filtering to 
   Javascript Filtering. Unfortunately, I don’t know the difference.

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

The topic ‘Javascript error with WP4.1’ is closed to new replies.

 * ![](https://ps.w.org/ultimate-product-catalogue/assets/icon-128x128.png?rev=1805317)
 * [Ultimate Product Catalog](https://wordpress.org/plugins/ultimate-product-catalogue/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/ultimate-product-catalogue/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/ultimate-product-catalogue/)
 * [Active Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/ultimate-product-catalogue/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/ultimate-product-catalogue/reviews/)

## Tags

 * [javascript error](https://wordpress.org/support/topic-tag/javascript-error/)
 * [wp 4.1](https://wordpress.org/support/topic-tag/wp-4-1/)

 * 2 replies
 * 2 participants
 * Last reply from: [gordonbrow](https://wordpress.org/support/users/gordonbrow/)
 * Last activity: [11 years, 3 months ago](https://wordpress.org/support/topic/javascript-error-with-wp41/#post-5603786)
 * Status: resolved