Hi,
After updating today to 6.x-1.1 of node_clone I get this:
"call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'clone_access' was given in /var/www/html/drupal/includes/menu.inc on line 452.
After disabling the module, apparently the message went away.
I thing the bug might be in
sites/all/modules/node_clone/clone.module
line 63:
drupal_alter("clone_access", $access, $node);
I changed it to:
drupal_alter("clone_access_cloning", $access, $node);
And the message went away.
regards,
Giannis
Comments
Comment #1
scalp commentedIn my case, after upgrading to 1.1 I got a WSOD. Rolling back to version 1.0 fixed it.
Comment #2
andrewhthomas commentedI saw this error after my upgrade, but I flushed my site cache and have not seen it since.
Comment #3
pwolanin commentedYes, the name of the access callback was changed so you need a menu rebuild - did you run update.php after the update?
Comment #4
pwolanin commentedComment #5
asb commentedSimilar/same issue here. The watchdog log is flooded (yes, literally flooded) with messages like this:
And yes, I ran
update.phpafter the update (throughdrush updatedb).Re-opening.
Comment #6
pwolanin commentedok, well drush updatedb should have worked, but try the performance page. Or submit the modules page. All you need is a menu rebuild.
Comment #7
asb commentedYes, submitting the modules page seems to have done the trick. Thanks!
Comment #8
scalp commentedAfter running update.php is when I get the WSOD. Checking the Drupal's recent log entries shows:
call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'clone_access_cloning' was given in /var/www/html/includes/menu.inc on line 452.
I should mention that I also tried to do a menu rebuild by visiting /admin/build/modules, but still get the WSOD.