Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1410356

    in framework/php/class-form-generator.php at Line 1294

    				if( 'empty_line' == $element['type'] )
    				{
    					if( ! ( isset( $element['element_display'] ) && 'frontend' == $element['element_display'] ) )
    					{
    						$new_post[ $key ] = 'xxx';
    					}
    				}
    
    				if( 'headline' == $element['type'] )
    				{
    					if( ! ( isset( $element['element_display'] ) && 'frontend' == $element['element_display'] ) )
    					{
    						$new_post[ $key ] = $element['label'];
    					}
    				}
    
    				if( ! empty( $new_post[ $key ] ) )
    				{
    					if( $element['type'] != 'hidden' && $element['type'] != 'decoy' )

    should be:

    				if(isset( $element['type'] ) && 'empty_line' == $element['type'] )
    				{
    					if( ! ( isset( $element['element_display'] ) && 'frontend' == $element['element_display'] ) )
    					{
    						$new_post[ $key ] = 'xxx';
    					}
    				}
    
    				if(isset( $element['type'] ) && 'headline' == $element['type'] )
    				{
    					if( ! ( isset( $element['element_display'] ) && 'frontend' == $element['element_display'] ) )
    					{
    						$new_post[ $key ] = $element['label'];
    					}
    				}
    
    				if( ! empty( $new_post[ $key ] ) )
    				{
    					if(isset( $element['type'] ) && $element['type'] != 'hidden' && $element['type'] != 'decoy' )

    seams that when submitting with Captcha v2 the $element is no array, its a string… And that makes an error and the form is not submitted.
    Please check beforehand, if its set then there is no error and the form is correctly submitted.

    #1410964

    Hey BlutVampir,
    Thanks for sharing your code, but when I test with Captcha v2 my emails are submitted correctly and recived, are you using v5.6.2?
    When you say makes an error and the form is not submitted do you mean that you are not getting the frontend submition response Your message has been sent! and you are not reciving the emails?
    What browser are you using?

    Best regards,
    Mike

    #1411041

    I’m not getting the mails at all. The message on the site is shown.

    With the fix, I get the mails. Many sites have the same issue from me and I didnt change anything. Perhaps its not related to recaptcha… I donno. I only did that fix and its working again.

    Needed to update the file on all my sites + customers

    • This reply was modified 1 year, 5 months ago by BlutVampir.
    #1411056

    Hi,
    Ok, I glad that this has solved your situation and thanks for sharing, but I’m not able to reproduce this issue so I can’t recommend it to the Dev Team.

    Best regards,
    Mike

Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.