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.
I have the module working nicely, but get the following error as a popup on the status page.
Notice: Undefined index: label in entity_token_token_info_alter() (line 93 of /home/[site]/public_html/sites/all/modules/entity/entity_token.tokens.inc).
Notice: Undefined index: label in entity_token_token_info_alter() (line 99 of /home/[site]/public_html/sites/all/modules/entity/entity_token.tokens.inc).
Additionally, the status page reports the following as an alert:
Tokens Problems detected
The following tokens or token types are missing required name and/or description information:
$info['tokens']['site']['current-page']
I've seen OG as a source of these errors, but I don't have OG installed on this site - any ideas? I've had to disable Path Breadcrumbs in the meantime for this site. (I have it woking on another site without incident - and I love it!)
Any assistance appreciated - thanks for the great module!
Comments
Comment #1
kalabroI don't think it is PB problem. Which versions of Token, Entity and Ctools are you using?
Comment #2
bcobin CreditAttribution: bcobin commentedThank you for the quick response - much appreciated!
Token is 7.x-1.6, Entity is 7.x-1.6 and Ctools is 7.x-1.7, all of which are the latest release versions. Disabling PB eliminates the error - where do you think I should look?
Thanks again...
Comment #3
mcdoolz CreditAttribution: mcdoolz commentedSo the error is on 93 and 99.
So let's have a look there.
Adding a dpm calls forth these:
K that looks like crap, but basically we have code that wants $property['label'] but ['label'] is suddenly located under ['path_menu_trail'].
¯\_(ツ)_/¯
So we need to recursively search the property for the label? If I put something together, maybe I'll upload my first patch evarrr.