Hi there!
There seems to be a important problem on how notification passes information to the token module. Each time a notification is sent, the following error message is thrown:
user notice: The messaging_text_replace() function called token replacement with an array rather than a string for $text in /.../drupal-6.22/sites/all/modules/token/token.module on line 263.
I posted the issue on the token project and received that answer from one of the maintainer (I think):
(http://drupal.org/node/1328752)
Read Dave's post (#16). This is because Notifications/Messaging
(or whatever module you are using) is not using Tokens correctly.
Someone needs to open an issue in the appropriate queue to get that
fixed.
Thanks!!!!
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | strings4messaging_text_replace-1336892-3.patch | 777 bytes | Thomas_Zahreddin |
Comments
Comment #1
jjustman commentedI had this too. Upgrading to the dev version of Token seemed to fix it. But it still seems that the method used in Notifications is incorrect.
Comment #2
danepowell commentedThis is actually an issue with code in the Messaging module: #1329024: Messaging is not compatible with latest token.module
Comment #3
Thomas_Zahreddin commented#1 is right. (hope it's ok for all to reopen the issue).
here a patch (the same as for http://drupal.org/node/1366380)
Comment #4
Thomas_Zahreddin commentedlooks like this is fixed in the dev-Version of messaging
http://drupal.org/node/1329024