Hi!
Version 0.5.24
Fatal error: Uncaught TypeError: count(): Argument #1 ($var) must be of type Countable|array, bool given in /public_html/wp-content/plugins/cf7-getresponse/lib/system.php:92
Wrong:
if( count( $muplugins > 0 ) ) {
Ok:
if( count( $muplugins ) > 0 ) {
Getresponse returns an error if name is in the API call but empty; however it does not return error if name is not submitted at all. Often times a subscription form does not ask user for name. So I would suggest to change the code below so not send “name” field if it is empty.
File: /lib/functions.php
Line: 292-300
if(strlen($name)){
$body = '{
? ? ? ? ? ? ? ? ? ?"name": "'.$name.'",
? ? ? ? ? ? ? ? ? ?"email": "'.$email.'",
? ? ? ? ? ? ? ? ? ?"dayOfCycle": "10",
? ? ? ? ? ? ? ? ? ?"campaign": {
? ? ? ? ? ? ? ? ? ? ? ?"campaignId": ?"'.$list.'"
? ? ? ? ? ? ? ? ? ? },
? ? ? ? ? ? ? ? ? ? "customFieldValues":' . $cadarray . ' ' .
? ? ? ? ? ? ? ? '}';
}else{
?? ? ? $body = '{
? ? ? ? ? ? ? ? ? ?"email": "'.$email.'",
? ? ? ? ? ? ? ? ? ?"dayOfCycle": "10",
? ? ? ? ? ? ? ? ? ?"campaign": {
? ? ? ? ? ? ? ? ? ? ? ?"campaignId": ?"'.$list.'"
? ? ? ? ? ? ? ? ? ? },
? ? ? ? ? ? ? ? ? ? "customFieldValues":' . $cadarray . ' ' .
? ? ? ? ? ? ? ? '}';
}
]]>
First of all: great plugin!
I’m posting here because there’s no contact-form on your website.
There are some issues with the plugin:
1. The notice cannot be removed?? The message notice “Getresponse Extension has been improved! We worked…” pops up on backend on every refresh! this is a real pain.
2. In advanced settings > when enabling “custom fields”, the settings area for custom fields pop-up and disappear again
3. All help links are dead 404 :/
Are you still working on the plugin?
]]>Hello,
Please send your issues and feature requests for GetResponse plugin on this page (contact form at the bottom):
Contact Form 7 GetResponse extension help.
All support will be handled from that page moving forward.
]]>