Hi when trying to select a book outline to clone a node into I get the following:

PHP Fatal error: Call to undefined function node_form_validate() in /var/www/vhosts/epilepsy7/includes/form.inc on line 1430, referer: http://epilepsy7.ixishosting.co.uk/node/1769/clone

http://i.imgur.com/QqwHu.png

Comments

kenneth.venken’s picture

Status: Active » Needs review
StatusFileSize
new759 bytes

Attached a patch that fixes this issue for me.
It's based on the similar issue: http://drupal.org/node/921398#comment-3995822

amitgoyal’s picture

Thanks a lot for the patch, Kenneth. It worked for me as well.

I am using Drupal 7.13 and when I am trying to clone the node using latest version of node_clone module, I am getting the same error during ajax call on the node edit page.

pwolanin’s picture

Version: 7.x-1.0-beta1 » 7.x-1.x-dev

Looks like the the right function to use according to the API docs

tim.plunkett’s picture

Status: Needs review » Reviewed & tested by the community

This is correct.

pwolanin’s picture

Status: Reviewed & tested by the community » Fixed

committed

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.