Error message after a signup:
Notice: Undefined property: stdClass::$sid in signup_rules_signup_data_alter() (line 66 of ...\signup_rules\signup_rules.module).
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | signup_rules-problem_of_Undefined_property_in_signup_rules_signup_data_alter-1487854-3.patch | 1.35 KB | jerenus |
| #1 | signup_rules.zip | 11.96 KB | Hardik C |
Comments
Comment #1
Hardik C commentedHi,
Please replace the signup_rules module with the attached signup_rules module.
It works for me..!!!
Thanks,
Hardik
Comment #2
krex commentedI was having the same issue, but this post didn't work for me. It doesn't like there is any change on the affected line (66) between the current 7.x-1.x-dev and the version you have posted here.
is the line that's causing the error. I moved it into an else block below "if (empty($signup->sid))" and it seemed to resolve things for me. Here's the code:
Please forgive my noob-iness, I am not sure how to submit patches.
Comment #3
jerenus commentedThis is the patch. hope the problem can be solved.
Comment #4
fonant commentedPatch in #3 works fine for me.
Comment #5
jpshayes commentedI am still receiving the following error after patching with #3
Notice: Undefined property: stdClass::$sid in signup_rules_signup_data_alter() (line 66 of /var/www/vhosts/site/example.com/sites/all/modules/signup_rules/signup_rules.module).Rules 7.x-2.9
Signup Rules 7.x-1.0-beta1+1-dev