I wonder if anybody can help please.

I have created an entity form with just one text field. On submission the 'thank you page' is displayed with the following error:

Notice: Undefined property: stdClass::$mail in entityform_confirm_email() (line 575 of sites/all/modules/contrib/entityform/entityform.module).

In case it matters I am running Drupal 12 and Entity API 7.x-1.0-rc1

Ta.

Comments

mariafromatoz’s picture

I have just realised that Drupal couldn't find the 'email' because I was submitting the form as an anonymous user - it worked well when I was logged in.

However, I want all anonymous users to be able to submit the form.

  • In the 'email settings' of the form I haven't ticked or added any information.
  • In the 'access settings' of the form I have selected all the roles available

Any ideas pls?

tedbow’s picture

Status: Active » Fixed

Thanks for catching this. I just fixed this in the dev version.

mariafromatoz’s picture

Ta, I have just tried out the dev version and now it is working great.

Cheerio.

tedbow’s picture

Status: Fixed » Closed (fixed)