Haven't seen this error before. Other posts are varied as to where, I'm receiving it as:
warning: Missing argument 5 for fervens_body_class(), called in /Users/me/Sites/acquia-drupal/sites/all/themes/environment2013/templates/page.tpl.php on line 17 and defined in /Users/me/Sites/acquia-drupal/sites/all/themes/environment2013/template.php on line 52
I can't see where this is a problem or what is causing this.
The function in page.tpl.php is:
<body class="<?php print fervens_body_class($is_front, $logged_in, $is_admin, $node) . " " . "enviro2013"; ?>">
The typical function in template.php is:
function fervens_body_class($is_front, $logged_in, $is_admin, $node, $left, $right) {
$class = array();
// Checks if current page is front or not.
if ($is_front) {
$class[] = 'front-page';
}
else {
$class[] = 'not-front-page';
}
// Checks whether user is logged in or not.
if ($logged_in) {
$class[] = 'logged-in';
}
else {
$class[] = 'not-logged-in';
}
This has been working fine so I'm not sure what triggered a problem?
I tried putting this inside of my template.php file:
function environment2013_preprocess_html(&$vars) {
$vars['classes_array'][] = 'enviro2013';
}