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 get an error when I'm trying to remove a node.
PHP Fatal error: Call to undefined function menu_nodeapi() in (...) expire.module on line 335
menu_nodeapi($node, 'prepare');
Menu_nodeapi() does not seem to exist in D7. The 'prepare' portion of that function should be implemented some other way for D7.
Comment | File | Size | Author |
---|---|---|---|
#2 | menu_nodeapi.1363964.2.patch | 498 bytes | Anonymous (not verified) |
Comments
Comment #1
nevets CreditAttribution: nevets commentedThe call in Drupal 7 would be menu_node_prepare()
Comment #2
Anonymous (not verified) CreditAttribution: Anonymous commentedhere's a one-line patch for D7.
Comment #3
msonnabaum CreditAttribution: msonnabaum commentedLooks good. Committed.