You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, I have the mailchimp toggle disabled. The code in Formerly_SubmissionsService.php line 40 says if ($form->mailchimp && isset($submission->{$emailHandle})) { and in that if block, $success is set to either true or false. Then, outside of that if block (line 67), $success is returned. In my case, since mailchip isnt enable, i believe thats causing $form->mailchimp to return false, and therefore $success is not being set and is null, which is making Craft CMS throw the error "Undefined variable $success". Why is success being returned if its not always defined?
To add more detail, i dont currently have any formerly settings in the craft/config/general.php file, but that shouldn't effect this right?
The text was updated successfully, but these errors were encountered:
Having this issue as well. Hacked myself a solution by moving $success = true; to outside if ($form->mailchimp && isset($submission->{$emailHandle})) {...}
Currently, I have the mailchimp toggle disabled. The code in Formerly_SubmissionsService.php line 40 says
if ($form->mailchimp && isset($submission->{$emailHandle})) {
and in that if block, $success is set to either true or false. Then, outside of that if block (line 67), $success is returned. In my case, since mailchip isnt enable, i believe thats causing$form->mailchimp
to return false, and therefore $success is not being set and is null, which is making Craft CMS throw the error "Undefined variable $success". Why is success being returned if its not always defined?To add more detail, i dont currently have any formerly settings in the craft/config/general.php file, but that shouldn't effect this right?
The text was updated successfully, but these errors were encountered: