Closed (fixed)
Project:
Node clone
Version:
5.x-2.3
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2008 at 11:53 UTC
Updated:
23 May 2008 at 02:19 UTC
Jump to comment: Most recent file
on the admin/logs/status page I got the following error/warning after having upgraded from 5.x-2.2 to 5.x-2.3:
* warning: Missing argument 2 for clone_help() in .../sites/all/modules/node_clone/clone.module on line 8.
* warning: Missing argument 2 for clone_help() in .../sites/all/modules/node_clone/clone.module on line 8.
Because I have no idea under what circumstances this second argument to clone_help may appear or not I made this second argument optional, see the patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #3 | node_clone.5.x-2.3-2.patch | 639 bytes | blackdog |
| node_clone.5.x-2.3.patch | 653 bytes | schoene_idee |
Comments
Comment #1
schoene_idee commentedComment #2
jsimonis commentedI received the same error.
Comment #3
blackdog commentedhook_help doesn't take more than one argument, see the API documentation.
I've just removed the second argument completely in schoene_idee's patch.
Comment #4
andyhu commentedI think the problem is 5.x-2.3 is not really a 5.x module, it only works in drupal 6. See menu hook and compare to 5.x menu system....
Comment #5
pwolanin commentedsorry- I made a mistake when tagging the files- please use 5.x-2.4 instead: http://drupal.org/node/256805
Comment #6
pwolanin commented