Discovered this error when testing PHP 8, however it is occurring on live so isn't a PHP 8 issue.
Notice: Trying to get property 'mail' of non-object in iform_group_send_invites::sendInvites() (line 181 of /code/web/modules/custom/iform/client_helpers/prebuilt_forms/group_send_invites.php)
This appears in the Drupal log as invites sent (which don't arrive), using the "Invite people to join" option.
@sacrevert @NPMSSupport
Fixed.
Note the emails were not actually sending. I think this would of been broken for as long as the website was running Drupal 9.
Discovered this error when testing PHP 8, however it is occurring on live so isn't a PHP 8 issue.
Notice: Trying to get property 'mail' of non-object in iform_group_send_invites::sendInvites() (line 181 of /code/web/modules/custom/iform/client_helpers/prebuilt_forms/group_send_invites.php)
This appears in the Drupal log as invites sent (which don't arrive), using the "Invite people to join" option.