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.
Was unable to use AJAX on node/add forms while using the group module when trying to add a node to a group at group/xx/node/add/nodetype; kept getting a "Call to undefined function node_form_validate()" error. Traced it back to this module.
Once I added require_once(DRUPAL_ROOT . "/modules/node/node.pages.inc");
at the top of inline_entity_form.module, the error stopped happening and everything worked correctly. I know that's not the proper way to do it, thus the bug report.
Comments
Comment #1
erfunath CreditAttribution: erfunath commentedAdding more detail to the error.
Comment #2
bojanz CreditAttribution: bojanz commentedThere is no node_form_validate() call in inline_entity_form. Maybe you were using a patch?