Support » Theme: Green-Lantern » comments

  • Resolved paul91

    (@paul91)


    In Green latern theme 2.6 don’t work comments. It’s characterized by this warning:
    “Warning: call_user_func() expects parameter 1 to be a valid callback, function ‘green-lantern_comment’ not found or invalid function name in /home/greenswabi/public_html/wp-includes/class-walker-comment.php on line 180”

    The problem is actually caused in file comments.php on this line:
    wp_list_comments( array( ‘callback’ => ‘green-lantern_comment’ ) );
    Callback “green-lantern_comment” actually don’t exists enywhere in template. Until version 2.3 there was callback call “weblizar_comment” instead of those one. Actually it works if I rewrite back to it. Why authors of this theme use some callback which don’t exists and still don’t repair it in several versions?

    Seems like common problem on sites which run on this theme:
    https://www.google.cz/webhp?hl=cs&sa=X&ved=0ahUKEwjoz6HanrbRAhVG2SwKHWq8A_MQPAgD#hl=cs&q=%22green-lantern_comment%22

    • This topic was modified 3 years, 1 month ago by paul91.
Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘comments’ is closed to new replies.