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'm encountering a PHP notice while calling http://example.com/taxonomy/term/1/all/feed:
Notice: Undefined variable: vocabularies in i18nviews_plugin_argument_validate_i18n_taxonomy_term->validate_argument_i18n_tids() (line 165 of /sites/all/modules/i18nviews/includes/i18nviews_plugin_argument_validate_i18n_taxonomy_term.inc).
I'm using Views for taxonomy terms.
Comments
Comment #1
scitoThe code was added in issue #1359132: Extend taxonomy term argument validator plugin..
$vocabularies
is never set in thevalidate_argument_i18n_tid()
andvalidate_argument_i18n_tids()
functions.I don't know if setting
$vocabularies
as invalidate_argument()
would fix the problem:BTW: I'm using PHP 5.3.14.
Comment #2
webflo CreditAttribution: webflo commentedFixed in commit 7e22fa8. Thanks!
Comment #3
scitoThe PHP notice disappeared.
That was fast!
Thanks, too.