it looks like i’m having the “no related post” issue as well. i’ve tried clearing the caches of DB Cache Reloaded, W3TC and YARPP, no luck. this only happens on some old posts, not all.
here’s a few screen shots:
https://www.jpegtown.com/user_uploads/el8DnpA_Capture.PNG
https://www.jpegtown.com/user_uploads/CfSUUXi_Capture2.PNG
here’s the snippet of my yarpp-template-thumbnail.php
<?php if ($related_query->have_posts()):?>
<p style="font-weight: bold;">You might also like:</p>
<?php while ($related_query->have_posts()) : $related_query->the_post(); ?>
<div class="related_post_thumb">
<?php
// tambnguyen
$width = 90;
$height = 90;
$classtext = 'related_post_thumb_img';
$titletext = get_the_title();
$thumbnail = get_thumbnail($width,$height,$classtext,$titletext,$titletext);
$thumb = $thumbnail["thumb"];
echo '<a href="' . get_permalink() . '" rel="bookmark" title="' . $titletext . '">';
echo ($thumb <> '') ? print_thumbnail($thumb, $thumbnail["use_timthumb"], $titletext, $width, $height, $classtext) : $titletext;
echo '<span>' . substr($titletext, 0, 40) . '...</span>';
echo '</a>';
?>
</div>
<?php endwhile; ?>
<div class="clearfix"></div>
<?php endif; ?>
oh, i’m running WP 3.3 with the official YARPP 3.4.2.