Skip to content

email & preview error #2698

@samuelbirch

Description

@samuelbirch

Describe the bug

Emails are failing to send and previews failing due to the following error:

Cannot access offset of type array on array
/var/www/html/vendor/verbb/formie/src/services/Emails.php:96

only happens when a from name is also included (the from email looks to be in an array)

Steps to reproduce

  1. add a email notification
  2. add a from name & from email
  3. view preview

Form settings

  • Multi-page form: Yes or No
  • Submission Method: Ajax or Page Reload
  • Client-side Validation: Yes or No
  • Custom Form Templates: Yes or No

Craft CMS version

5.8.22

Plugin version

3.1.7

Multi-site?

Yes

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions