Title: Prices Not Loading
Last modified: November 17, 2018

---

# Prices Not Loading

 *  Resolved [meadow12](https://wordpress.org/support/users/meadow12/)
 * (@meadow12)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/)
 * Hello,
 * We are facing following issue while using this plugin:
 * Uncaught TypeError: Cannot read property ‘length’ of null
    at Function.each (
   VM26 jquery.min.js:3) at Object.get_product_ids (wcpbc-frontend.min.js:5) at 
   Object.geolocate_customer (wcpbc-frontend.min.js:9) at Object.init (wcpbc-frontend.
   min.js:9) at HTMLDocument.<anonymous> (wcpbc-frontend.min.js:10) at c (VM26 jquery.
   min.js:3) at Object.fireWith [as resolveWith] (VM26 jquery.min.js:3) at Function.
   ready (VM26 jquery.min.js:3) at HTMLDocument.H (VM26 jquery.min.js:3)
 * We have updated the plugin to latest version (1.7.16) and cleared the cache. 
   However above error is still present and product prices are not loading.

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

 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/#post-10894296)
 * Hi,
    I don’t find this error in our development environment. Could you add the
   following line to your wp-config and send me a link to your page so I can debug
   the error.
 * Add the following line to before /* That’s all, stop editing! Happy blogging.*/
   `
   define( 'SCRIPT_DEBUG', true );`
 * thanks.
    -  This reply was modified 7 years, 6 months ago by [Oscar Gare](https://wordpress.org/support/users/oscargare/).
 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/#post-10894449)
 * Hi [@meadow12](https://wordpress.org/support/users/meadow12/),
    are you using
   jquery version prior to 1.12? Update to jQuery 1.12 will fix the issue. thanks
 *  Thread Starter [meadow12](https://wordpress.org/support/users/meadow12/)
 * (@meadow12)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/#post-10894486)
 * Hello,
    I will try updating the jQuery version.
 *  Thread Starter [meadow12](https://wordpress.org/support/users/meadow12/)
 * (@meadow12)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/#post-10894714)
 * Hi,
    I have updated jQuery. But error is still present. Here is link to the page:
   [https://bit.ly/2TkSSiy](https://bit.ly/2TkSSiy)
 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/#post-10899613)
 * Hi,
    I checked that your site is still using jquery 1.7.1…. I update PBC to add
   compatibility to jQuery version prior to 1.12.
 * Regards,
    Oscar.
 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/#post-10899616)
 * Hi there,
    I update PBC to add compatibility to jQuery version prior to 1.12.
 * Regards,
    Oscar.
 *  Thread Starter [meadow12](https://wordpress.org/support/users/meadow12/)
 * (@meadow12)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/#post-10902630)
 * Hello,
 * I updated the plug-in to latest version. But it is still not working. It still
   shows same error. Please take a look.
    Thank you.
 *  Plugin Author [Oscar Gare](https://wordpress.org/support/users/oscargare/)
 * (@oscargare)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/#post-10902678)
 * Hi,
    Your site is server an old version of PBC frontend Javascript (version 1.7.15).
 * Are you using a cache system (plugin or by theme)? Please update to 1.7.17 and
   clear cache, also you have to clear the cache of your browser.
    -  This reply was modified 7 years, 6 months ago by [Oscar Gare](https://wordpress.org/support/users/oscargare/).
 *  Thread Starter [meadow12](https://wordpress.org/support/users/meadow12/)
 * (@meadow12)
 * [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/#post-10903267)
 * Hi,
 * Issue was caused because older jQuery version was overriding new jQuery version.
   Now issue has been solved.
 * Thank you very much for your help !

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

The topic ‘Prices Not Loading’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce-product-price-based-on-countries/assets/icon-
   256x256.png?rev=1976858)
 * [Price Based on Country for WooCommerce](https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce-product-price-based-on-countries/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce-product-price-based-on-countries/reviews/)

 * 9 replies
 * 2 participants
 * Last reply from: [meadow12](https://wordpress.org/support/users/meadow12/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/prices-not-loading/#post-10903267)
 * Status: resolved