I have created custom breadcrumb with the next cridentials:
Content type: Article
Titles:
[node:taxonomy-vocabulary-43:term:parent:name]
[node:taxonomy-vocabulary-43:term:name]
[node:title]
URLs:
[node:taxonomy-vocabulary-43:term:parent:url]
[node:taxonomy-vocabulary-43:term:url]
On the article node page it gives me correct breadcrumb:
Root → Parent taxonomy term → Taxonomy term → Node name
And the next warnings:
User warning: Attempting to perform token replacement for token type taxonomy-term-reference-field-value without required data in token_tokens() (line 757 of /home/sites/all/modules/token/token.tokens.inc).
User warning: Attempting to perform token replacement for token type taxonomy-term-reference-field-value without required data in token_tokens() (line 757 of /home/sites/all/modules/token/token.tokens.inc).
User warning: Attempting to perform token replacement for token type taxonomy-term-reference-field-value without required data in token_tokens() (line 757 of /home/sites/all/modules/token/token.tokens.inc).
User warning: Attempting to perform token replacement for token type taxonomy-term-reference-field-value without required data in token_tokens() (line 757 of /home/sites/all/modules/token/token.tokens.inc).
Comments
Comment #1
MGN CreditAttribution: MGN commentedDid this only happen with an anonymous user? If so this may already be fixed. I can't reproduce the problem with the latest code.
Comment #2
Cray Flatline CreditAttribution: Cray Flatline commentedNo, it happens with any user. How I can provide any additional information about the bug? Maybe some var_dump() results or anything else?
Comment #3
Draven_Caine CreditAttribution: Draven_Caine commentedI also ran into this issue with Panels, my profile page and I added a node author token to the profile, which after changing it to title token it fixed.
For my case the node "profile" isnt a node, so i just used the title which is the user's name anyway.
This is happening with node tokens, as I have tested it on 2 diffrent "node" types: profile and gallery_image(my own type)
Comment #4
Nikdilis CreditAttribution: Nikdilis commentedIn case it might help:
I received the following error:
User warning: Attempting to perform token replacement for token type user without required data in token_tokens() (line 791 of ...modules\token\token.tokens.inc).
After changing the field-token "[user:field-paypal-email]" in "[current-user:field-paypal-email]" the error was gone.
So maybe it helps to check if the used token is correct.
Comment #5
MGN CreditAttribution: MGN commentedYes, it seems that this problem is specific to the token used and the objects available. Custom breadcrumbs doesn't check to see if the token is valid - I am not sure if there is a way of doing that or not, but it seems that it might be necessary to avoid these warnings.
Comment #6
Nikdilis CreditAttribution: Nikdilis commentedTo avoid those warnings it might help to go to Home » Administration » Configuration » Development
=> Logging and errors
and set it to
none.