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.
As I know taxonomy is not mandatory for project module, but if disable taxonomy in modules list we get next error:
Fatal error: Call to undefined function: taxonomy_get_vocabularies() in /home/axel/public_html/tracker.drupal/modules/project/project.module on line 149
Attached patch correct this error.
Comment | File | Size | Author |
---|---|---|---|
#4 | project-taxonomy-dependency_6.patch | 903 bytes | coderintherye |
project-taxonomy-dependency_4.5.patch | 602 bytes | axel |
Comments
Comment #1
Kjartan CreditAttribution: Kjartan commentedCommitted
Comment #2
(not verified) CreditAttribution: commentedComment #3
ergonlogicA dependency on taxonomy.module appears to have crept back into Project.
taxonomy_get_vocabularies() is called in project.module on line 357.
Comment #4
coderintherye CreditAttribution: coderintherye commentedYes, same error on alpha4: PHP Fatal error: Call to undefined function taxonomy_get_vocabularies() in sites/all/modules/project/project.module on line 357, referer: https://localhost/support/node/add/project-project
Almost seems like this taxonomy thing needs a meta-issue if same issue is going to re-appear over 5 years. There are 10 pages of issues related to taxonomy for this project :/
Anyways attached is patch for 6.x-1.0-alpha4 to remove taxonomy dependency (at least for this particular error)
Comment #5
drummComment #6
apadernoI am closing this issue, as Drupal 6 is no longer supported.
In Drupal 7, the Project module doesn't contain any call to
taxonomy_*()
functions, but the Project releases module does. That module has the Taxonomy module as explicit dependency, though.