• Since 5.4 the form does not send or redirect to the thank-you page the js error I receive is TypeError: Cannot set property ‘innerText’ of null.

    This happens when the recaptcha is active if I deactivate the recaptcha it will send but then still doesn’t redirect to the thank you page. There is also no little ajax spinning wheel when you hit the send button. I reverted back to 5.3.2 and everything works as it should. Any ideas on how to fix this I have about 20 plus sites using your plugin and I don’t really want to revert all of them back.

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

    (@takayukister)

    Where can we see the website in question?

    Thread Starter Wildcard

    (@thenewguy_14)

    @takayukister I rolled back to the older version on most sites but here is one that still is the newer version…

    https://elevationvail.com/contact/

    Plugin Author Takayuki Miyoshi

    (@takayukister)

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

    Thread Starter Wildcard

    (@thenewguy_14)

    A few different free plugins and a few I have written. But I have disabled them and tried and still no go. But if I deactivate the re-captcha on your plugin CF7 sends no problem…

    Thread Starter Wildcard

    (@thenewguy_14)

    @takayukister hi just checking in to see if you have found a solution for this or if you will be releasing a new version soon. I deactivated all plugins except yours and it still would not send. So I don’t think it is a plugin conflict.

    Thread Starter Wildcard

    (@thenewguy_14)

    @takayukister hi are you updating your plugin or do you need something else from me to get this figured out?

    Plugin Author Takayuki Miyoshi

    (@takayukister)

    I’m waiting for your answer to my question.

    Thread Starter Wildcard

    (@thenewguy_14)

    Oh sorry I thought that I answered it. but I have a couple free ones but I turn them all off so that there was no plugins active and I still couldn’t send the form. So not sure what plugins I have even matter. But I have a bunch of sites that have all kinds of different plugins. So not sure how I would get all that information across to you.

    But like I said I don’t think it is a plugin conflict since when I turn them off it still doesn’t send. Its defiantly the captcha integration that stops the form from sending. If I remove the re-captcha integration then it sends but doesn’t redirect to the thank you page. So i rolled back the plugin to 5.3.2 and it sends no problem. Seems like others are having the same issues aswell

    The issue is that wordpress removes empty p tags.
    You can replace the following line in contact-form.php for now:

    
    - '<p role="status" aria-live="polite" aria-atomic="true">%s</p>',
    + '<span role="status" aria-live="polite" aria-atomic="true">%s</span>'
    
    Thread Starter Wildcard

    (@thenewguy_14)

    @umetzu hmmm that’s weird wordpress has always added empty p tags to some of my wysiwyg editors. I have always had to use jQuery to remove them and un wrap images and shortcodes. I will give your solution a try

    yes it does, but my pull request got a warning instead…
    https://github.com/takayukister/contact-form-7/pull/367

    Thread Starter Wildcard

    (@thenewguy_14)

    @takayukister trying to figure out what else you need from me I have at least 30+ sites using your plugin and they all have different plugins so not sure if a list of all plugins from 30+ sites is ideal. I did deactivate the every single plugin except yours on one of the sites and it still would not send unless the captcha integration was turned off but then the form did not redirect to the thank you page. Can you please advise me on what a good solution would be?

    Thread Starter Wildcard

    (@thenewguy_14)

    ok so I went with @umetzu suggestion and it seems to be working now so that’s good. I just don’t want to keep having to update this. but I guess it is what it is since it is a free plugin. Thanks everyone. I am going to try and setup something in my theme to not strip the tags out of the contact forms I guess.

    Thread Starter Wildcard

    (@thenewguy_14)

    I did just try it on one of the sites that redirects to a thank you page and its not redirecting still so I guess I need to figure that out

    Thread Starter Wildcard

    (@thenewguy_14)

    @takayukister is there a different way we need to redirect to a thank you page with contact form 7 5.4, besides adding the function with the script in the function file?

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Contact form doesn’t send’ is closed to new replies.