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.
This module is incompatible with the API changes that workbench_moderation 7.x-2.x introduces.
For example, function workbench_moderation_node_type_moderated() does not exist, which raises a PHP error when displaying a node…
PHP Fatal error: Call to undefined function workbench_moderation_node_type_moderated() in /somepath/docroot/sites/all/modules/contrib/metatag/metatag.module on line 1362
Comment | File | Size | Author |
---|---|---|---|
#3 | metatag-n2169547-3.patch | 3.23 KB | DamienMcKenna |
Comments
Comment #1
DamienMcKennaPatches are welcome :-)
Comment #2
mattltThe same issue was found in the apachesolr_workbench_moderation module. Their solution was to require workbench_moderation (7.x-1.x) as a dependency in the info file.
Pretty sure that solution wouldn't work here. Also, not sure I have the knowledge to produce a patch. :-(
I'll see what I can find that might help.
Comment #3
DamienMcKennaThis will at least stop the error from happening, and adds a warning message if Workbench Moderation v2 is also installed, but doesn't actually fix the integration.
Comment #4
DamienMcKennaI've added another issue for working on the actual integration: #2169575: Integration with Workbench Moderation v2
Comment #5
mattltI added a comment about an incorrect module name in line 105 of the patch using the review button. Let me know if I'm doing it wrong.
Comment #6
DamienMcKennaAfter you do that you have to click the "paste" button to copy your change into the comment field.
Comment #7
DamienMcKennaCommitted.
Comment #8
Elijah Lynnhttp://drupalcode.org/project/metatag.git/commitdiff/5bdc39b