Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
hansel_token_info() defines a Token for the term type regardless the existence of the Taxonomy module. This causes the following warning on the status report page.
The following token types are not defined but have tokens:
$info['types']['term']
Additionally, the token_insert_wysiwyg module throws an error while trying to generate a list of tokens.
Recoverable fatal error: Argument 2 passed to _token_token_tree_format_row() must be an array, null given
I've taken a stab at a patch for the issue. Seems to work as expected.
Comment | File | Size | Author |
---|---|---|---|
#1 | hansel-token_warning-20150421.patch | 571 bytes | jeremylang |
Comments
Comment #1
jeremylang CreditAttribution: jeremylang commentedComment #2
DamienMcKennaIt's a very simple change, looks good.