Title: Javascript errors in the front-end script
Last modified: January 30, 2020

---

# Javascript errors in the front-end script

 *  [Iulia Cazan](https://wordpress.org/support/users/iulia-cazan/)
 * (@iulia-cazan)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/javascript-errors-in-the-front-end-script/)
 * Hello,
 * I will start by saying that I really like your plugin, it’s super easy to configure
   and the front-end functionality is beautiful.
 * I installed this recently and there is a javascript error in the front-end script,
   and to make it work I just replaced the `$` with `jQuery` (there are 2 occurrences).
 * If it’s not too much of a trouble, please include a fix in the next release.
   
   Thanks a lot!
 * Iulia

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

 *  [gerardojaramillo](https://wordpress.org/support/users/gerardojaramillo/)
 * (@gerardojaramillo)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/javascript-errors-in-the-front-end-script/#post-12462514)
 * Hey! did you find the fix for this? after updating the file, it just does not
   work… the images are all big.
 * thanks!
    -  This reply was modified 6 years, 3 months ago by [gerardojaramillo](https://wordpress.org/support/users/gerardojaramillo/).
 *  [fenawa](https://wordpress.org/support/users/fenawa/)
 * (@fenawa)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-errors-in-the-front-end-script/#post-12496888)
 * Hi. I just stumped across same issue. Long story short, you can hard fix it by
   going to the plugin assets/js folder, open wpgis.front.js and on lines 107 and
   109, replace the $ sign with jQuery. To get my point, check the other methods
   and you’ll see that all of them begin with jQuery() except these 2.
 *  [shaunmac](https://wordpress.org/support/users/shaunmac/)
 * (@shaunmac)
 * [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-errors-in-the-front-end-script/#post-12530173)
 * Or you could just register the $ obj in the ready function.
    First line `jQuery(
   document).ready(function($)` [https://gist.github.com/shaunmac/3c918a9239843c51bdfde9553b396d5c](https://gist.github.com/shaunmac/3c918a9239843c51bdfde9553b396d5c)

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

The topic ‘Javascript errors in the front-end script’ is closed to new replies.

 * ![](https://ps.w.org/advanced-woocommerce-product-gallery-slider/assets/icon-
   256x256.jpg?rev=1978641)
 * [Advanced WooCommerce Product Gallery Slider](https://wordpress.org/plugins/advanced-woocommerce-product-gallery-slider/)
 * [Support Threads](https://wordpress.org/support/plugin/advanced-woocommerce-product-gallery-slider/)
 * [Active Topics](https://wordpress.org/support/plugin/advanced-woocommerce-product-gallery-slider/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/advanced-woocommerce-product-gallery-slider/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/advanced-woocommerce-product-gallery-slider/reviews/)

## Tags

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

 * 3 replies
 * 4 participants
 * Last reply from: [shaunmac](https://wordpress.org/support/users/shaunmac/)
 * Last activity: [6 years, 2 months ago](https://wordpress.org/support/topic/javascript-errors-in-the-front-end-script/#post-12530173)
 * Status: not resolved