I'm seeing a strange behavior on my site and I'm trying to figure out how to correct it.
I have a rule that triggers on the event After updating an existing user account. This rule uses two variables, account and account-unchanged. Both of these should be provided by default.
However, for some reason user accounts are being saved upon login-- and when they are saved at login, account-unchanged is unset. This leaves a PHP warning in watchdog.
To remove this error, I attempted to add a condition, Not data value is empty (account-unchanged, but this just gives me another watchdog warning like so:
Unable to evaluate condition data_is_empty.
Ideally I will be able to find the reason why user accounts are being saved on login, but in the meantime, is there a way to prevent the rule from being evaluated when a required variable is not set?