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;
I'm getting this from time to time randomly on different pages,
any clue what is could be the reason for this?
BR
Itzhak
Comment | File | Size | Author |
---|---|---|---|
#11 | 1457482-metatags_quick-trying-to-get-non-object-bug-9.patch | 559 bytes | jviitamaki |
#4 | metatags_quick-trying-to-get-non-object-bug-1457482-0.patch | 916 bytes | jviitamaki |
Comments
Comment #1
imoreno CreditAttribution: imoreno commentedany updates on this one?
Comment #2
imoreno CreditAttribution: imoreno commentedThis will happen only if i enable "Auto-keywords vocabularies " in the Auto settings for meta tags.
Comment #3
valthebaldI can't promise to handle this soon, but patches are welcome!
Comment #4
jviitamaki CreditAttribution: jviitamaki commentedHere's a patch that should fix this problem. Please post if this still occurs.
Comment #5
jviitamaki CreditAttribution: jviitamaki commentedOh sorry forgot to change the status...
Comment #6
imoreno CreditAttribution: imoreno commentedHi,
While this patch eliminated the error (when "Auto-keywords vocabularies" is enabled) it looks that none of the keywords from the selected vocabularies are being added to the node keywords - only the global keywords are there.
BR
Itzhak
Comment #7
valthebald$term->node??
Comment #8
imoreno CreditAttribution: imoreno commentedwhat I'm trying to achieve is that a node will have his terms list as a keywords list on his meta tag keywords.
Comment #9
valthebaldI wonder why you expect $term object to have node property?
Comment #10
jviitamaki CreditAttribution: jviitamaki commentedAaah sorry about that it should be $term->name :< Some kind of brain fart of mine got that there. I'll make a new patch asap.
Comment #11
jviitamaki CreditAttribution: jviitamaki commentedHere's who it should have been.
Comment #12
imoreno CreditAttribution: imoreno commentedHi,
with the last 7.x-2.5 version from 18.6.12 + patch from #11 this is now working as expected.
All of my nodes are getting the auto terms as meta tags keywords.
Thanks!
Comment #13
valthebaldThanks for fixing, committed to 7.x-2.x