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.
Just thought I'd flag this up, as it just caught me out on a site where I wasn't using the taxonomy module.
In line 89 of metatags_quick_extra.admin.inc there is the following:
$vocabularies = taxonomy_vocabulary_get_names();
Unless the taxomomy module is enabled, this results in Fatal error: Call to undefined function taxonomy_vocabulary_get_names()
Suggested solution: declare this dependency in the metatags_quick_extra.info file
Comments
Comment #1
valthebaldFixed in 7.x-2.x-dev
Comment #3
gynekolog CreditAttribution: gynekolog commentedWhy this fix is not in 7.x-2.7 version?
Comment #4
valthebaldIt' there, see metatags_quick_extra.info
Comment #5
gynekolog CreditAttribution: gynekolog commentedMy bad. I upgraded from 7.x-2.1. on 7.x-2.7. (taxonomy module was disabled). I'm still getting
Unless the taxomomy module is enabled, this results in Fatal error: Call to undefined function taxonomy_vocabulary_get_names()
. Working solution for me is to change:on
in metatags_quick_extra.admin.inc