Closed (fixed)
Project:
Node export
Version:
6.x-2.11
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
20 Jun 2009 at 20:59 UTC
Updated:
6 Jul 2009 at 10:00 UTC
Here is the error message in full length:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_node_form' was given in /var/www/ejuv/includes/form.inc on line 366.
I got this error every time I try to import any kind of node (by copying and inserting the code, shown in the export-tab of the node). The result is an empty node without any type, written by "guest" (although I was logged in).
Any ideas?
Comments
Comment #1
danielb commentedUsually this means the content type from the first site is missing on the second site. You may need to manually change the node code, or ensure the 2nd site is not missing any modules or content types that would be required to make that node work.
If you think there is something else going on, do you mind pasting your node code in
<code></code>tags?Comment #2
ab_connor commentedI did the operation on the same site, so no module or content type should be missed. I also tried a different site with the same configuration. It's the same.
I didn't find any documentation for this. Is this necessary? I tried it out and the result was a blank screen.
Comment #3
danielb commentedno I meant post it here so I can see it :P
Comment #4
ab_connor commentedSorry ;-)
Here is the Code:
Comment #5
danielb commentedOK sorry about this, this is bug introduced in the latest version. I've made a new release to avoid further problems.
Comment #6
ab_connor commentedGood work! Thank you for the fast support.