• Resolved xwerson

    (@xwerson)


    Hello

    I have a important form. I show/hide fields with checkbox. Its worked before but now give this error in console:

    caught TypeError: Invalid attempt to spread non-iterable instance.
    In order to be iterable, non-array objects must have a [Symbol.iterator]() method.
        at _nonIterableSpread (nonIterableSpread.js:2:9)
        at _toConsumableArray (toConsumableArray.js:10:95)
        at Wpcf7cfForm.form.updateSimpleDom (scripts_es6.js:111:31)
        at scripts_es6.js:425:18

    and no more show/hide groups.

    Its some object – array mixing error in plugin code?

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

Viewing 1 replies (of 1 total)
  • Plugin Author Jules Colle

    (@jules-colle)

    Your theme or another plugin is most likely loading an outdated version of jQuery.

    When I visit your website I see a lot of other problems though. There is a JS error that resides from your theme, and the conditional fields javasript file isn’t loaded, probably because it’s not included by w3 total cache.

    If you think the problem might be coming from a clean setup, please reproduce your form here: https://conditional-fields-cf7.bdwm.be/form-tester/

Viewing 1 replies (of 1 total)
  • The topic ‘JS error in plugin code’ is closed to new replies.