Comments Call Back Error :/ (2 posts)

  1. AliasEll
    Posted 5 years ago #

    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.

  2. AliasEll
    Posted 5 years ago #


    In comments.php, this line:

    wp_list_comments( array( 'callback' => 'twentyten_comment' ) );

    must be changed to:


Topic Closed

This topic has been closed to new replies.

About this Topic