When I try and add a pane that uses nodecomment_form it breaks on that panel with the following error message:
warning: call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, '_node_form' was given in .../drupal/includes/form.inc on line 371.
Looking at the nodecomment_form.inc file the problem seems to be on with this code on line 29:
$comment_type = variable_get('comment_type_'. $node->type, variable_get('default_comment_type', ''));
I believe that the variable 'comment_type' should actually be 'node_comment_type' and adding changing that seems to fix the problem. I've attached a simple patch.
| Comment | File | Size | Author |
|---|---|---|---|
| comment_form_ctools.patch | 791 bytes | hadsie |
Comments
Comment #1
zmove commentedHi,
I confirm the issue and I confirm that the patch correctly fix it.
Comment #2
jthomasbailey commentedconfirmed, patch works
Comment #3
crea commentedI belive this was fixed already without marking the issue fixed. Please reopen if the problem exists in latest beta/dev.