WordPress.org

Ready to get started?Download WordPress

Forums

Adelle
Trackback error Adelle 10.1 (2 posts)

  1. meatified
    Member
    Posted 8 months ago #

    I installed Adelle yesterday and noticed today that there is a problem with displaying trackbacks. Each individual ping / trackback generates this error on the page where the trackback should be displayed:

    Warning: call_user_func() expects parameter 1 to be a valid callback, function 'comment_style' not found or invalid function name in /home/content/66/9573966/html/wp-includes/comment-template.php on line 1334

    You can see what I mean at the bottom of this post, below the comments.

    'comment_style' isn't found in line 1334. Here's 1333 - 1336:

    if ( !empty( $args['callback'] ) ) {
    			call_user_func( $args['callback'], $comment, $args, $depth );
    			return;
    		}

    I know absolutely nothing about how to resolve this, so any help would be greatly appreciated!

  2. wongpk
    Member
    Posted 8 months ago #

    Open comments.php and find Line 25:

    <?php wp_list_comments('type=pingback&callback=comment_style'); ?>

    Change it to:

    <?php wp_list_comments('type=pingback'); ?>

    See if that helps?

Reply

You must log in to post.

About this Theme

About this Topic