Also found that the JSON success response gets corrupted with an error in WooCommerce, though that may be unrelated.
Here is the patch I wrote for the first error.
Changed
// if added a bcc
$bcc_to = trim( $form['mailer']['bcc_to'] );
if( !empty( $bcc_to ) ){
$mail['headers'][] = Caldera_Forms::do_magic_tags( 'Bcc: ' . $bcc_to );
}
// if added a replyto
$reply_to = trim( $form['mailer']['reply_to'] );
if( !empty( $reply_to ) ){
$mail['headers'][] = Caldera_Forms::do_magic_tags( 'Reply-To: <' . $reply_to . '>' );
}
To
// if added a bcc
if( !empty( $form['mailer']['bcc_to'] ) ){
$bcc_to = trim( $form['mailer']['bcc_to'] );
$mail['headers'][] = Caldera_Forms::do_magic_tags( 'Bcc: ' . $bcc_to );
}
// if added a replyto
if( !empty( $form['mailer']['reply_to'] ) ){
$reply_to = trim( $form['mailer']['reply_to'] );
$mail['headers'][] = Caldera_Forms::do_magic_tags( 'Reply-To: <' . $reply_to . '>' );
}
Other than that though gonna add Caldera Forms to our officially support form plugins to use with Popup Maker.
Can you please submit this as a pull request? https://github.com/desertsnowman/caldera-forms
Daniel, how and where could I apply the patch ?
The underlying issue here is now fixed in CF 1.0.3.1
@josh Pollock – Awesome to hear.