I created an Entityform Type and added an 'Entityform Notification Email Admin' rule.
When I subsequently submit the form, this error is thrown:
Notice: Undefined variable: entityform in _entity_rules_invoke_rules() (line 1012 of /home/www/public_html/sea-birdcoastal.com/sites/all/modules/entity_rules/entity_rules.module).
Notice: Trying to get property of non-object in _entity_rules_invoke_rules() (line 1012 of /home/www/public_html/sea-birdcoastal.com/sites/all/modules/entity_rules/entity_rules.module).
Entityform Type references non-existing Rule component rules_entityform_notification_email_admin
When I click on 'Manage Entityform_submission Rules', this error is shown under rules that send mail:
Error: The utilized component rules_entityform_notifications_email_send fails the integrity check.
I have cleared caches, uninstalled and reinstalled entity_rules and entityform_notifications. Not sure what to try next.
Comments
Comment #1
tedbow@Foole, I do see a problem with error reporting that has some left Entityform code in this module.
But your problem is that for some reason the Rule rules_entityform_notifications_email_send is failing.
If you goto Admin -> Configuration -> workflow -> Rules -> Components
Then search for rules_entityform_notifications_email_send it should tell you why this Rule is not valid.
Comment #2
Miranda_NS commentedI came across the same error. The rule_entityform_notifications_email_send said that a parameter wasn't set. In my case, this was caused by the "Continue rules" check box being unchecked.
After checking this box and saving, all was good again, with the following notification: The rule Entityform Notification Email Submitter (rules_entityform_notification_email_submitter) was marked dirty, but passes the integrity check now and is active again.
I've no idea what the "marked dirty" bit is about, but maybe this is meaningful information for someone else ;-)