• Resolved meadow12

    (@meadow12)


    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

    (@oscargare)

    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.
    Plugin Author Oscar Gare

    (@oscargare)

    Hi @meadow12,
    are you using jquery version prior to 1.12?
    Update to jQuery 1.12 will fix the issue.
    thanks

    Thread Starter meadow12

    (@meadow12)

    Hello,
    I will try updating the jQuery version.

    Thread Starter meadow12

    (@meadow12)

    Hi,
    I have updated jQuery. But error is still present.
    Here is link to the page: https://bit.ly/2TkSSiy

    Plugin Author Oscar Gare

    (@oscargare)

    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

    (@oscargare)

    Hi there,
    I update PBC to add compatibility to jQuery version prior to 1.12.

    Regards,
    Oscar.

    Thread Starter meadow12

    (@meadow12)

    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

    (@oscargare)

    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.
    Thread Starter meadow12

    (@meadow12)

    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.