Hi,
I have updated the token module to it's latest version (1.18) for 6x. And it started giving errors like this on node pages.
When I updated it to token 6.x-1.17 from 1.16 version:
warning: preg_match_all() expects parameter 2 to be string, array given in /mnt/stor9-wc1-dfw1/666889/www.preschoolhomepage.com/web/content/sites/all/modules/token/token.module on line 701.
And then I updated token from 6.x-1.17 to 1.18 version of token, the error become:
user notice: The custom_pagers_get_list_from_view() function called token replacement with an array rather than a string for $text in /sites/all/modules/token/token.module on line 263.
The module seems to work fine even with this error. But This should be removed too I think.
Comment | File | Size | Author |
---|---|---|---|
#1 | custom_pagers-token-1542128.patch | 671 bytes | marabak |
Comments
Comment #1
marabak CreditAttribution: marabak commentedIn token module token_replace() has a string and not an array as first parameter.
i changed :
$args = token_replace($args, 'node', $node);
to :
Comment #1.0
marabak CreditAttribution: marabak commentedUpdated data