I've noticed recently on a site that I was receiving this error on a site did not have workbench moderation installed when a node is saved:
Fatal error: Call to undefined function workbench_moderation_node_type_moderated() in /,,,/contrib/linkchecker/linkchecker.module on line 2668
In order to fix this the module_exists check needs to surround the rest of the logic on that line, because if the module doesn't exist it can't find the workbench_moderation_node_type_moderated() method.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | workbench-moderation-check-needs-to-surround-the-logic-2895869-3.patch | 734 bytes | samberry |
| #2 | workbench-moderation-check-needs-to-surround-the-logic-2895869-1.patch | 733 bytes | samberry |
Comments
Comment #2
samberry commentedComment #3
samberry commentedJust spotted a coding standards issue in my patch here.
Comment #4
quadrexdevD7 reached its EOL back in January 2025, and there is no active release for D7 for this module anymore.
Development or support is not planned for D7. All D7-related issues are marked as outdated in a bunch.
If the issue remains relevant for D10+ versions, merge requests with proposed solutions for a new module version (D10+) are welcome in a new follow-up issue.
Thanks!