• Resolved mtingley

    (@mtingley)


    A form should load after selecting add to cart but nothing happens. The developer with Gravity Forms Add-on says the issue is with my theme. Sent me an error message:

    Uncaught Error: Syntax error, unrecognized expression: div[class^=”front-page-“] a[href*=#] :not([href=#])
    at Function.ea.errror (jquery.js?ver=1.12.4-wp:2)
    at ea.tokenize (jquery.js?ver=1.12.4-wp:2)
    at ea.select (jquery.js?ver=1.12.4-wp:2)
    at Function.ea [as find] (jquery.js?ver=1.12.4-wp:2)
    at n.fn.init.find (jquery.js?ver=1.12.4-wp:2)
    at new n.fn.init (jquery.js?ver=1.12.4-wp:2)
    at HTMLDocument.<anonymous> (global.js?ver=1.0.0:18)
    at i (jquery.js?ver=1.12.4-wp:2)
    at object.fireWith [as resolveWith] (jquery.js?ver=1.12.4-wp:2)

    This issue started after updating wordpress and woocommerce along with others.

    Also under Woocommerce Status is shows: Genesis Connect for WooCommerce by StudioPress – 1.1.1 – Installed version not tested with active version of WooCommerce 4.5.2
    Any help would be great.

    Thanks

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there,

    Can I have you edit the child themes global.js file and look for the following line:

    $( ‘div[class^=”front-page-“] a[href*=#]:not([href=#])’ ).click(function() {

    and change to the following adding double quotes around the # sign so it looks like:

    $( ‘div[class^=”front-page-“] a[href*=”#”]:not([href=”#”])’ ).click(function() {

    Thank you!

    Thread Starter mtingley

    (@mtingley)

    That worked! Thanks so much!

    You’re welcome,

    I am glad we could help.

    Enjoy the rest of your day!

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘WooCommerce Gravity Forms Product Add-Ons’ is closed to new replies.