• I have contact form 7 on my website, everything works well but the problem is Spinning Arrow keeps on spinning after clicking Submit button and form fields/page do not refresh. On the other hand, emails are sent successfully behind the seen.

    Though background working of this form is fine but user who submits the form thinks that there is some issue with the site and his form is not getting submitted at all as he sees animation of spinning arrow and form fields which he filled as they are.

    Thanks.

    https://www.ads-software.com/plugins/contact-form-7/

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

    (@takayukister)

    I’m also having this issue since upgrading to the latest version of CF7 and WordPress 3.6 today. The spinning arrow icon keeps spinning and no email is sent.

    Looks like CF7 is not compatible with WP 3.6 yet.

    I guess this issue will get fixed in the next CF7 update to make it work with the latest version of WordPress.

    Thread Starter littlelogic

    (@littlelogic)

    My issue is that icon keeps on moving however email is sent successfully in background.

    This is most likely due to a Javascript conflict with either your current WordPress theme or one of the other plugins you are using – see Solving CF7 Javascript Conflicts.

    Use Firebug or Chrome Dev Tools to examine Javascript conflicts in detail – see Use Firebug or Chrome Dev Tools

    @jam-jam

    We always get a number of similar comments in this forum after each WordPress upgrade. It might seem an obvious conclusion but nevertheless it’s typically incorrect.

    I just updated to WordPress 3.6 on a number of sites and CF7 continues to work flawlessly.

    I am also having the same problem as @littlelogic. Will deactivating plugins and switching to the default theme wipe out any revisions I’ve made to plugins and the theme I’m currently using?

    For now, I guess I’ll just put a footnote to ignore the spinning arrows after clicking submit.

    And this is all beyond my scope of understanding. Sigh. https://developers.google.com/chrome-developer-tools/docs/javascript-debugging

    This is one of the pages I am having a problem with: https://theethnicpantry.com/contact/

    Okay, I got it solved… somewhat.

    I had installed the Easy WP SMTP plugin and found that if I unchecked the “Enable SMTP Debug”, then that fixed the problem.

    Now, though, I have a checkbox counter script, and now that’s not working! Wish CF7 had that feature!

    I just installed Contact Form 7 (version 3.5) to my development website today, and am also getting the spinning arrow. Eventually, if I leave it for awhile, it sends the email, but it takes a long time (like an hour or so). I just installed Contact Form 7 today – and it installed the latest version.

    Interestingly, though, I had the old version of Contact Form 7 (version 3.4.2) on another website. I also updated it to the new version today, but appears to be working fine. It’s not getting the spinning arrow nor is it taking forever to send an email.

    I am seeing this on my very first WP site with CF7 as the second plugin installed on the default theme. It seems to be related to having a drop down select or checkbox group with multiple selections permitted (for me anyway).

    The email is sent minus the drop down or check box value(s), but the form does not fully validate and the users just continues to see the spinning arrow.

    Disabling multiple options gets the form working as expected.

    Thanks for the help dougiegsd – I removed my checkbox group with multiple selections, and the spinning arrow doesn’t happen anymore.

    But for some reason I’m not receiving the email? It’s been over a half hour now and I still haven’t received the 2 emails that I sent from the form. I know it’s setup correctly because yesterday I was eventually getting the email, although it took an hour or so.

    The only plugins that I have activated are Under Construction, Contact Form 7, and Really Simple CAPTCHA. CF7 was my 2nd plugin installed. I’m using the Aspen theme.

    I am having the same issue. When I removed the checkbox items from the form, it works fine. Something is very much wrong there and I now have a very upset client.

    I noticed the problem today when I was giving a demo to my client…RRRRRRRrrr why do they always malfunction at such times?!

    Anyway, Chrome’s network inspector showed the following output from the AJAX call upon submitting a Contact Form 7 form that contained checkboxes:

    <br />
    <b>Warning</b>:  trim() expects parameter 1 to be string, array given in <b>/home/jagfs/public_html/id-content/plugins/contact-form-7/includes/classes.php</b> on line <b>599</b><br />
    <br />
    <b>Warning</b>:  trim() expects parameter 1 to be string, array given in <b>/home/jagfs/public_html/id-content/plugins/contact-form-7/includes/classes.php</b> on line <b>599</b><br />
    {"mailSent":true,"into":"#wpcf7-f2062-p2063-o1","captcha":null,"message":"Your message was sent successfully. Thanks."}

    The icon keeps spinning because Javascript doesn’t know how to handle the error message. It only knows what to do with the JSON (the last part){"mailSent":true,"into":"#wpcf7-f2062-p2063-o1","captcha":null,"message":"Your message was sent successfully. Thanks."}

    The solution is to do what was pointed out in another thread: open up /includes/classes.php and from line 599 change

    $submitted = trim( $submitted );
    
    			if ( is_array( $submitted ) )
    				$replaced = join( ', ', $submitted );
    			else
    				$replaced = $submitted;

    to this instead

    //$submitted = trim( $submitted ); Lose this line
    			if ( is_array( $submitted ) )
    				$replaced = join( ', ', $submitted );
    			else
    				$replaced = trim( $submitted );

    I was able to solve the spinning issue by deleting the ‘WP Super Cache’ cache files that were in the plugins folder.

    Hope this helps….

    jimmysun

    (@jimmysun)

    @markob83
    thank you! I deactivated WP Super Cache and the arrow keeps spinning. After I reactivated WP Super Cache, the problem is solved.

Viewing 15 replies - 1 through 15 (of 18 total)
  • The topic ‘Spinning Arrow keeps on spinning after clicking submit button’ is closed to new replies.