Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
aathewise CreditAttribution: aathewise commentedI too am getting this message. This is on a clean install also.
Comment #2
alviSic CreditAttribution: alviSic commentedYou can fix the error by replacing line 78
$vars['navigation'] = $vars['main_menu'] ? render(menu_tree('main-menu')) : FALSE;
with this
You can find explanation of this error here: http://drupal.stackexchange.com/a/6356
Comment #3
Chi CreditAttribution: Chi commentedThanks! Fixed now.