Hello,

I created a simple entity form with a simple admin email submission rule.

When I go to my form, I get the following error message

Warning : array_merge(): Argument #2 is not an array in _entity_rules_get_form_entity_type_settings() (line 572 in /entity_rules.module).

Except that, the form seems to works.

Alex

Comments

nithinkolekar’s picture

confirmed. exactly same error here, except it showing sitewide not just on form page.
rules code

{ "rules_create_client_account" : {
    "LABEL" : "Create client account",
    "PLUGIN" : "reaction rule",
    "OWNER" : "rules",
    "REQUIRES" : [ "rules", "entityform" ],
    "ON" : { "entityform_insert" : [] },
    "IF" : [
      { "data_is" : { "data" : [ "entityform:type" ], "value" : "client_invite" } },
      { "NOT entity_exists" : {
          "type" : "user",
          "property" : "mail",
          "value" : [ "entityform:field-e-mail" ]
        }
      }
    ],
    "DO" : [
      { "entity_create" : {
          "USING" : {
            "type" : "user",
            "param_name" : "[entityform:field-user-name]",
            "param_mail" : "[entityform:field-e-mail]"
          },
          "PROVIDE" : { "entity_created" : { "entity_created" : "Created entity" } }
        }
      },
      { "mail" : {
          "to" : "[entityform:field-e-mail]",
          "subject" : "siteadmin had created an account for [entity-created:name] at [site:name]",
          "message" : "You may activate your account by going to this link to set your password:\\r\\n[entity-created:one-time-login-url]",
          "language" : [ "" ]
        }
      }
    ]
  }
}