• Resolved codesmith32

    (@codesmith32)


    The plugin appears to be broken. Getting an error in frontend-script.js due to an undeclared response variable in the hook attached to the wpcf7invalid event.

    More specifically, in the unminified file,
    wpcf7-redirect\assets\js\wpcf7r-fe.js line 79:

    response = event.detail.apiResponse;
    should be
    var response = event.detail.apiResponse;

    The module runs in strict mode; therefore global assignment is illegal.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support rodicaelena

    (@rodicaelena)

    Hi,

    Thank you for sharing this. We are currently working on an update.

    Thank you for your help!

    Plugin Support rodicaelena

    (@rodicaelena)

    Hi there,

    The latest update should fix this. Can you please let us know if you are still experiencing issues or everything is ok?

    Thank you!

    Thread Starter codesmith32

    (@codesmith32)

    Hey @rodicaelena,

    I believe it is fixed now. I was helping a client when I discovered it, and I think I recall they said it was working since the update.

    Thank you!

    Plugin Support rodicaelena

    (@rodicaelena)

    Great, thank you for the update!

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

The topic ‘Undefined variable response’ is closed to new replies.