Yesterday I upgraded Node Clone module to 6.x-1.1. I found this morning I have a related problem:

Fatal error: Call to undefined function clone_access() in C:\wamp\www\mysite\sites\all\modules\node_clone\views\views_handler_field_node_link_clone.inc on line 25

Here is line 25 from the above referenced file:

  if (!clone_access($node)) {

Has anyone else seen this? I can't find a function named clone_access () anywhere on my development machine, so I changed the above line to the below, and it now works.

  if (!$node) {

Comments

ianchan’s picture

same problem here

Head of Library Technology Initiatives and Development
California State University San Marcos
http://biblio.csusm.edu/

mpruitt’s picture

FYI, just upgraded to 6.12 of the module, and it works fine. This is line 25 from the new version. I'm not going to go back and test it in 6.11, but I think instead of making the change I made, if changed to the below in 6.11 it would likely work fine:

 if (!clone_access_cloning($node)) {