Add comment:

call_user_func_array() expects parameter 1 to be a valid callback, function 'theme_guestbook_form_comment_form' not found or invalid function name v souboru /home/users/rad/example.com/web/includes/theme.inc na řádku 656.

Comments

powery’s picture

theme_guestbook_form_comment_form is missing in guestbook.module?

taisei516’s picture

call_user_func_array() [function.call-user-func-array]: First argument is expected to be a valid callback, 'theme_guestbook_form_comment_form' was given (/home/taisei516/public_html/includes/theme.inc: line 656)

----------------------------------------------------------

i have same problem too.
(my guestbook module version is 6.x-2.x-dev.. )

tomtom122’s picture

I have the same problem - has anyone a solution

brian_l’s picture

Had the same error, fixed by adding this code to the module, probably not the best solution but it worked:

function theme_guestbook_form_comment_form($form_state) {
  $output = '';
  $output .= '<div class="container-inline">';
  $output .= drupal_render($form_state);
  $output .= '</div>';
  return $output;
}

see:
http://www.drupalcode.com/api/function/theme_guestbook_form_comment_form...

brian_l’s picture

Posted by powery on July 7, 2010 at 3:32pm

theme_guestbook_form_comment_form is missing in guestbook.module?

appears to be

powery’s picture

The error is away, if the functon is added to the gallery.module file. But I can´t see the comment on the page. I think it would be theme issue. My theme is http://drupal.org/project/zeropoint. Can anybody try this theme and add comments to guestbook entries?

sun’s picture

Status: Active » Fixed

Thanks for reporting, reviewing, and testing! Committed a fix for this bug to HEAD.

A new development snapshot will be available within the next 12 hours. This improvement will be available in the next official release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.