recoverable fatal error: Object of class stdClass could not be converted to string in /sites/all/modules/token/token.module on line 214

CommentFileSizeAuthor
#2 token_actions.module.txt8.25 KBAnonymous (not verified)

Comments

dave reid’s picture

Status: Active » Postponed (maintainer needs more info)

Um, the only thing I can think of is something is passing in an object when it should be a string to token_replace(). You'll have to do some digging and debugging on your own to figure out what's going on here because this can't be replicated with just core + token.module.

Anonymous’s picture

StatusFileSize
new8.25 KB

could it be due to the hack iI did to the token_actions.module? I hacked the module to send emails to a userlist trought vbo, for further infos pls see http://drupal.org/node/406600. Attached is the hacked module, could it be possibile to port this hack into the official release?

dave reid’s picture

Well, if you remove the hack does it work?

Anonymous’s picture

no, the problem is still there, even if I remove the hack.

Anonymous’s picture

any news?

dave reid’s picture

You'll have to do some digging and debugging on your own to figure out what's going on here because this can't be replicated with just core + token.module.

Still applies. I assume some module is passing in invalid token values, since this cannot be replicated with just core + token module installed.

Anonymous’s picture

Status: Postponed (maintainer needs more info) » Closed (won't fix)

the problem seems to come from smsbulk. When I send SMS with smsframework+vbo+smsbulk I got the error. If I just use smsframework+vbo the error doesn't happen. Opening an issue on smsbulk.