BiologicalRecordsCentre / plantportal

Focused repo for the Plant Portal website
0 stars 0 forks source link

Inviting to join project results in unseen error #80

Closed andrewvanbreda closed 1 year ago

andrewvanbreda commented 1 year ago

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.

andrewvanbreda commented 1 year ago

@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.