verbb / formie

The most user-friendly forms plugin for Craft CMS.
Other
96 stars 72 forks source link

Submission notifications not being sent #2146

Closed jeroenboumans closed 1 week ago

jeroenboumans commented 1 week ago

Describe the bug

Every form we're currently trying to submit gives back the following error:

2024-11-14 12:26:04 [ERROR] Failed to render dynamic string “{field:emailReferrer}”. 
Template error: “Property craft\web\View::$_twigExtensions does not exist”
.../vendor/verbb/base/src/services/Templates.php:74

It seems that the body cannot be parsed and fields are not filled

Steps to reproduce

  1. Create a form
  2. Add an email field
  3. Add the field to a notification in the body template
  4. Submit the form

Form settings

Craft CMS version

5.5.0

Plugin version

3.0.10

Multi-site?

No

Additional context

Tested both on staging and production

jeroenboumans commented 1 week ago

It seems that verbb/base was not up to date. Setting both to ^3.0 in the composer.json and running composer update fixed the issue.

engram-design commented 1 week ago

You shouldn't need to include the verbb/base package yourself, and a composer update or a composer require verbb/formie -W should get that package updated.