Title: Syntax Error on plugin
Last modified: June 3, 2021

---

# Syntax Error on plugin

 *  [Rafa Carvalhido](https://wordpress.org/support/users/rafacarvalhido/)
 * (@rafacarvalhido)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-on-plugin/)
 * Hi!
 * I’m using v.1.5.4.5 and getting an error:
 * `Uncaught SyntaxError: Invalid or unexpected token (index):4330`
 * When I open that, it shows the function brjst_ajax_filters_berocke_ajax_filtering_on_update()
   with an error along the line starting on `new Function(\'x\', \'y\', _kbezf7uawxx
   +\' return x+y;\')` up until the end.
 * I tried uninstalling and reinstalling plugin, but that did not do anything. How
   do I fix this?

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

 *  Plugin Author [RazyRx](https://wordpress.org/support/users/razyrx/)
 * (@razyrx)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-on-plugin/#post-14516756)
 * Hello,
 * Our plugin do not have function brjst_ajax_filters_berocke_ajax_filtering_on_update
   
   Which file has this function?
 * Regards,
    Oleg
 *  Plugin Author [RazyRx](https://wordpress.org/support/users/razyrx/)
 * (@razyrx)
 * [4 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-on-plugin/#post-14519539)
 * Hello,
 * It seems custom JavaScript code from plugin settings -> JavaScript/CSS tab.
    
   Did you add some code or did you used previous version of plugin?
 * Regards,
    Oleg

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

The topic ‘Syntax Error on plugin’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-ajax-filters/assets/icon-256x256.gif?rev=2770304)
 * [Advanced AJAX Product Filters](https://wordpress.org/plugins/woocommerce-ajax-filters/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-ajax-filters/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-ajax-filters/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-ajax-filters/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-ajax-filters/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-ajax-filters/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [RazyRx](https://wordpress.org/support/users/razyrx/)
 * Last activity: [4 years, 10 months ago](https://wordpress.org/support/topic/syntax-error-on-plugin/#post-14519539)
 * Status: not resolved