• Resolved kugae

    (@kugae)


    Since one of the last version I get a Javascript-Error, when I want to modify a form, which was created with the help of CF7.
    The message says: SyntaxError: redeclaration of const dittyAdminVars
    When I deactivate Ditty, everything is fine and no error occurs. Actualy I have Ditty 3.06 installed.
    What can I do?
    Best regards
    Kurt

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author metaphorcreations

    (@metaphorcreations)

    Thanks for letting me know about this. It seems the wp_add_inline_script() function is allowed to be added multiple times for some reason, which is why this error is happening. I have added a check within the plugin now that makes sure the variable is only loaded once.

    I’ll be releasing an update later today with this workaround.

    Plugin Author metaphorcreations

    (@metaphorcreations)

    This issue should now be resolved with version 3.0.7.

    Let me know if you run into any other issues. Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Ditty Javascript error with Contact Form 7 / CF7 Smart Grid extension’ is closed to new replies.