Active
Project:
Token
Version:
7.x-1.5
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
24 Apr 2013 at 07:24 UTC
Updated:
7 Mar 2014 at 10:20 UTC
Jump to comment: Most recent
I found the following warnings in the error log of my website:
Error 1:
Warning: uasort() [function.uasort]: Array was modified by the user comparison function in token_get_info() (line 523 of /home/jobspls/public_html/sites/all/modules/token/token.module).
Error 2:
Warning: strnatcmp() expects parameter 1 to be string, array given in token_asort_tokens() (line 565 of /home/jobspls/public_html/sites/all/modules/token/token.module).
Comments
Comment #1
drupa11y commentedI get the similar errors:
Also a closed issue discusses this: https://drupal.org/node/1454642
I guess another token module causes this troubles, in my case "entity token" or "webform token". After disabling both the warnings are gone.
Comment #2
vishalgala commentedCheck the status in the following link (admin/reports/status). You will come to know which are the tokens used and at fault who are creating the problem. As there is some conflict happening where same tokens is getting created twice.