Strict warning: Only variables should be passed by reference in samara_preprocess_page() (line 78 of /home/webhost/public_html/sites/all/themes/samara/template.php).

Comments

aathewise’s picture

I too am getting this message. This is on a clean install also.

alviSic’s picture

You can fix the error by replacing line 78

$vars['navigation'] = $vars['main_menu'] ? render(menu_tree('main-menu')) : FALSE;

with this

  $page = menu_tree('main-menu');
  $vars['navigation'] = $vars['main_menu'] ? render($page) : FALSE;

You can find explanation of this error here: http://drupal.stackexchange.com/a/6356

Chi’s picture

Status: Active » Fixed

Thanks! Fixed now.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.