Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 UTC on 18 March 2024, to get $100 off your ticket.
Testing comments with fourseasons on d7 and I get a mostly wsod on any page with comments. Additionally get entity errors on other pages when I a comment somewhere in the system.
Seems to be caused by two small problems in comment.tpl.php
- there is a print_r(user_load_array('uid' => $node->uid)) that shouldn't be there
- there is an unclosed div for the one with just class="clear-block"
<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ($comment->status == COMMENT_NOT_PUBLISHED) ? ' comment-unpublished' : ''; print ' '. $zebra; ?>">
<div class="clear-block">
<?php /*print_r(user_load(array('uid'=>$node->uid)));*/ ?>
<?php if ($comment->new) : ?>
<a id="new"></a>
<span class="new"><?php print drupal_ucfirst($new) ?></span>
<?php endif; ?>
<?php print $picture; ?>
<?php print render($title_prefix); ?>
<h3<?php print $title_attributes; ?>><?php print $title; ?></h3>
<?php print render($title_suffix); ?>
<div class="submitted">
<?php print $created . " — " .$author;?>
</div>
<div class="comment-text">
<div class="comment-arrow"></div>
<div class="content"<?php print $content_attributes; ?>>
<?php
// We hide the comments and links now so that we can render them later.
hide($content['links']);
print render($content);
?>
<?php if ($signature): ?>
<div class="user-signature clearfix">
<?php print $signature; ?>
</div>
<?php endif; ?>
</div> <!-- /.content -->
<div class="comment-links">
<?php print render($content['links']); ?>
</div> <!-- /.comment-links -->
</div> <!-- /.comment-text -->
</div> <!-- /.clear-block -->
</div><!-- /.comment -->