Hello,

I updated to the token-6.x-1.17 version this morning and all of a sudden the variable [user:user] was no longer working in my trigger rule emails sent to me when a user updates content. I have replaced the token-6.x-1.17 with the previous version and it works again.

Paul

Comments

spouilly’s picture

Hi there,

I am having the same issue with version 6.x-1.17 ... I am using the notification module, and in today's notification e-mail, most/all of the token are NOT being translated ([site-name], [user], [type-name], etc.)

Will revert to 6.x-1.16 as well

Sylvain

fchandler’s picture

Could this be part of the same thing? I upgraded to 6.x-1.17 and all my pages had this error:

warning: preg_match_all() expects parameter 2 to be string, array given in /mysite/sites/all/modules/token/token.module on line 701.

My breadcrumbs had [menupath] (a token not being translated). I also reverted back to 6.x-1.16 and stopped the error. The process also freaked out my database in the process and had to go optimize it to regain control of my site(s).

dmstru’s picture

Same situation:

preg_match_all() expects parameter 2 to be string, array given в файле /home/u3468/domains/ray-ban-sunglasses.ru/sites/all/modules/token/token.module in string 701.

Please help.

MasterChief’s picture

Priority: Normal » Critical

Token in rules are broken, i am returning to the previous version.

dave reid’s picture

Status: Active » Closed (duplicate)