Active
Project:
ModalFrame Exclude From Node
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
13 Feb 2011 at 18:08 UTC
Updated:
17 Jul 2012 at 22:34 UTC
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_node_form' was given in includes/form.inc on line 378.
Disabling the module = no more warning. Enabling it , warning is back
Comments
Comment #1
ndrosev commentedI have almost the same problem with custom module
call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'theme_node_action_bar' was given in /var/www/project/includes/theme.inc on line 668.
Can somebody help me ?
Comment #2
marinex commentedI have same issue
Comment #3
marinex commentedIt seems that this error was returned when I have multiple forms on page, in my case it was search_box. I don't understand, but when I uninstall and again install search module the error was away... I thing this modul must be install before seach module. When I install this module after search module, error was again!
EDIT: It is not true! Error is still present!
Comment #4
marinex commentedSo I have solution:
If I add new content type the $form['#node_type']->type is empty in the "modalframe_exclude_node_form_node_type_form_alter". Why? Because adding a new type that does not exist yet!
So it is necessary add:
After new content type is added I can exclude some fields.