I loaded the arthemia theme on D7 running on PHP 5.3 and the site keeps emitting the following error "Strict warning: Only variables should be passed by reference in arthemia_primary() (line 15 ...template.php).
I suspect its a PHP error but I have no idea how to fix this.
Can I be helped here? Thanks.

CommentFileSizeAuthor
screenshot.jpg72.12 KBjomski
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mjross’s picture

In template.php, line 15 is:

$output .= drupal_render(menu_tree(variable_get('menu_main_links_source','main-menu')));

It needs to be changed to, for instance:

$menu_tree = menu_tree(variable_get('menu_main_links_source','main-menu'));
$output .= drupal_render($menu_tree);
ajayg’s picture

Issue summary: View changes

Confirming the above change works