tt1277
Forum Replies Created
-
Forum: Plugins
In reply to: [CF7 to Webhook] Webhook Error “400 Bad Request”I am also getting some weird errors since the recent update “An error of type E_PARSE was caused in line 439”.
Asking ChatGPT to review this code snippet:wp_mail(
$error_mails,
sprintf( __( ‘[%s] Webhook Error on Form %s’, ‘cf7-to-zapier’ ), wp_specialchars_decode( get_option( ‘blogname’ ), ENT_QUOTES ), $form ),
$notification,
);ChatGPT said:
Possible Issue:
- In this
wp_mail
function call, the trailing comma,
after the third parameter ($notification
) is incorrect syntax. In PHP, there should not be a comma after the last parameter in a function call. - Correct this by removing the comma at the end of the parameters.
Here’s how the fixed function should look:
wp_mail(
$error_mails,
sprintf( __( ‘[%s] Webhook Error on Form %s’, ‘cf7-to-zapier’ ), wp_specialchars_decode( get_option( ‘blogname’ ), ENT_QUOTES ), $form ),
$notification
);Not sure if this issue is related… our webhooks are working, but just getting this error which was not happening before the recent update.
Forum: Plugins
In reply to: [Contact Form DB] plugin is missing on the www.remarpro.com directoryI hope you continue your work with the plugin and don’t let this person discourage you!
Contact Form DB is really a solid piece of work! And for myself and many others EXTREMELY helpful!
Your work is truly appreciated by so many!
Forum: Plugins
In reply to: [Contact Form DB] Auto Deletion Feature Request – Update?I just wanted to follow up and see if you had a chance to look into this a little more… if so, do you think this is something you could implement?
Forum: Plugins
In reply to: [Contact Form DB] Auto Deletion Feature Request – Update?Forum: Plugins
In reply to: [Contact Form DB] Auto Deletion Feature Request – Update?I just wanted to follow up on my reply from the other day… any consideration would be extremely appreciated ??
Forum: Plugins
In reply to: [Contact Form DB] Auto Deletion Feature Request – Update?I just wanted to follow up on my reply from the other day… Do you think this this something that could be done in the near future?
And would it be something you would be willing to add to the plugin in the near future?
Forum: Plugins
In reply to: [Contact Form DB] Auto Deletion Feature Request – Update?To either cap the number of submissions to X and then delete the oldest ones once they come in.
OR
To delete any submission after a specific date. For example submissions are stored for only 90 days, then deleted.
Is this something that could be done in the near future?
And would it be something you would be willing to add to the plugin in the near future?
- In this