• I get this fatal error where the visitors are suposed to comment and i think it as something to do with my gravatar plugging!

    here is the error: <img border=”0″ style=”padding:1px; float:left; margin:0px 10px 5px 0px; border:1px solid #ccc;” alt=”avatar” src=”
    Fatal error: Call to undefined function gravatar() in /home/de3r7/public_html/wp-content/themes/Simplism/comments.php on line 18

    can anyone help me! :S

Viewing 2 replies - 1 through 2 (of 2 total)
  • Check your comment.php file. There is probably a minor error with your gravatar template tag.

    Thread Starter de3r7

    (@de3r7)

    <?php if ($comments) : ?>
    <div id="commentwrap">
     <ol class="commentlist">
    
     <?php foreach ($comments as $comment) : ?>
    
      <li class="<?=$oddcomment;?>">
       <img border="0" style="padding:1px; float:left; margin:0px 10px 5px 0px; border:1px solid #ccc;" alt="avatar" src="<?php gravatar("R", 48, get_option('home')."/wp-content/themes/Simplism/images/avatar.gif"); ?>" />
    
       <a name="comment-<?php comment_ID() ?>"></a><cite><?php comment_author_link() ?></cite> Says:<br />
    
       <div class="comment-inside">
       <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('e','',''); ?></small>
    
       <?php comment_text() ?>
       </div>
    </li>

    cant you help me i really don’t know what it the minor error lol:P

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Gravatar Error’ is closed to new replies.