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.
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.
Comment | File | Size | Author |
---|---|---|---|
screenshot.jpg | 72.12 KB | jomski |
Comments
Comment #1
mjross CreditAttribution: mjross commentedIn 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:
Comment #2
ajayg CreditAttribution: ajayg commentedConfirming the above change works