Creating default object from empty value - Sprout Email I've only recently started using Craft, so please excuse me if this is an obvious or silly question, but I've run into this problem when trying to create notifications on Sprout Emails (triggered by a Sprout Form).

The error is as follows:

PHP warning

Creating default object from empty value

/var/www/craft/plugins/sproutemail/services/SproutEmailService.php(506)

...
505         // Add a few additional variables to our info table
506         $event-&gt;params['variables']['info']-&gt;deliveryStatus = $deliveryStatus;
507         $event-&gt;params['variables']['info']-&gt;message        = $message;
...


I'm really not sure how to fix this - each form worked perfectly before, and it's only since I started using Sprout Email twenty minutes ago!

If I've not included enough code please tell me and I can include more!

Thank you
This error can be triggered when you try to use a variable name in your Sprout Email template or fields that is not present in the submitted Form data.

One example where this can occur is if you try to reuse the example Welcome Notification email provided in Sprout Email and don't update the {email} or {username} values in the HTML and Text body fields.

I'll add it to our list to revisit the error thrown here, as it's not clear at all what is happening from the error provided in the message you received above.