WordPress.org

Support

Support » How-To and Troubleshooting » Comments Call Back Error :/

Comments Call Back Error :/

  • Hey all,

    My comments were working fine, but as soon as I tried styling them it all screwed up. Now I cant get them back to the way it is!

    I have tried replacing the code with the twentyten in the “comments.php” part but no avail.

    As you can see, I get the error:

    “Warning: call_user_func(twentyten_comment) [function.call-user-func]: First argument is expected to be a valid callback in /home/elliot/public_html/blog/wp-includes/comment-template.php on line 1335”

    Which I have no idea what that is! Any suggestions would be pretty great thanks.

Viewing 1 replies (of 1 total)
  • Fixed:

    In comments.php, this line:

    wp_list_comments( array( ‘callback’ => ‘twentyten_comment’ ) );

    must be changed to:

    wp_list_comments();

Viewing 1 replies (of 1 total)
  • The topic ‘Comments Call Back Error :/’ is closed to new replies.
Skip to toolbar