Probably, this is PHP 5.3 error

Fatal error: Only variables can be passed by reference in /home/dx_/bootstrap.dx.rs/modules/comment/comment-wrapper.tpl.php on line 45

This is a simple fix, just remove & sign in line 54 in template.phpand everything seems to work just fine, here is how it should look:

/**
 * Add a "Comments" heading above comments except on forum pages.
 */
function fbg_preprocess_comment_wrapper($vars) {
  if ($vars['content'] && $vars['node']->type != 'forum') {
    $vars['content'] = '<h2 class="comments">'. t('Comments') .'</h2>'.  $vars['content'];
  }
}

Comments

sk33lz’s picture

Status: Active » Fixed

I removed all of the code within the template.php file for version 7.x-2.2, which I have just released.

I must have reused code from another theme I was working on at the time, as none of it was really needed for the theme to work, and it was going against the minimalist approach I am going for with this theme.

Note - I may add back the body classes just to give more control to themers in 7.x-2.3. The additional code just seemed like overkill, and was not needed really.

sk33lz’s picture

Assigned: Unassigned » sk33lz
Status: Fixed » Closed (fixed)