On a fresh install, I submitted the form at admin/build/path/pathauto
and got:
# notice: Undefined property: stdClass::$mail in token-6--1/token_user.inc on line 35.
# notice: Undefined property: stdClass::$created in token-6--1/token_user.inc on line 36.
# notice: Undefined property: stdClass::$created in token-6--1/token_user.inc on line 37.
# notice: Undefined property: stdClass::$access in token-6--1/token_user.inc on line 38.
# notice: Undefined property: stdClass::$access in token-6--1/token_user.inc on line 39.
# notice: Undefined property: stdClass::$timezone in token-6--1/token_user.inc on line 40.
Comments
Comment #1
beginner commentedComment #2
dave reidI think this is fixed with the latest code. Could you please re-confirm this bug?
Comment #3
manischewitzbacon commentedI just got this same error on a fresh install of the module from HEAD
notice: Undefined property: stdClass::$mail in modules/contrib/token/token_user.inc on line 40.
notice: Undefined property: stdClass::$created in modules/contrib/token/token_user.inc on line 41.
notice: Undefined property: stdClass::$created in modules/contrib/token/token_user.inc on line 42.
notice: Undefined property: stdClass::$access in modules/contrib/token/token_user.inc on line 43.
notice: Undefined property: stdClass::$access in modules/contrib/token/token_user.inc on line 44.
notice: Undefined property: stdClass::$timezone in modules/contrib/token/token_user.inc on line 45.
the block of errors were repeated twice, (I'm guessing once for user1 contact form, and once for user1...)
Comment #4
sagich commentedsubscribe
Comment #5
dave reidSomething is obviously not provided the full user object to the token functions then. Can you add this line to token_user.inc right before line 40?
Comment #6
dave reid