Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Takayuki Miyoshi

    (@takayukister)

    What other plugins and theme do you use on the site?

    Jainil Nagar

    (@jainilnagar)

    Hello @kreawich

    The issue is with your theme, not the plugin. The theme is loading the CF7 in popup using the ajax call and loading the CF7 form using wpcf7.initForm which throws the error.

    So the form is not initialized properly.

    Thread Starter kreawich

    (@kreawich)

    Hello @jainilnagar

    How can I fix the problem?

    Hello, @takayukister

    Plugin list,

    WP Mail SMTP, WPBakery Page Builder, SVG Support,
    PixFort Likes,
    Login Designer, Loco Translate

    I do not use any other theme

    ..

    • This reply was modified 4 years ago by kreawich.

    Hello.

    This problems occurs because essential.js executes this method (initForm) that is obsolete.

    I put this code below the POPUP code on the wordpress content editor of pixpopup:

    <script> wpcf7.initForm = function ( el ) { console.log(el); wpcf7.init( el[0] ); }</script>

    and then works.

    Or you can change the essentials.js popup to not execute the initForm method anymore.

    • This reply was modified 3 years, 12 months ago by Joao Neto.
    • This reply was modified 3 years, 12 months ago by Joao Neto.

    Joao Neto thank you very much. I did it. It worked. Really it is easy solution.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘ERROR with Contact Form 7’ is closed to new replies.