Early Bird Registration for DrupalCon Portland 2024 is open! Register by 23:59 PST on 31 March 2024, to get $100 off your ticket.
Home page error: Strict warning: Only variables should be passed by reference in deco_preprocess_page() (line 98 of \sites\all\themes\deco\template.php).
Add content error: Strict warning: Only variables should be passed by reference in include() (line 10 of \sites\all\themes\deco\page.tpl.php).
Comments
Comment #1
c31ck CreditAttribution: c31ck commentedThank you for reporting this issue. I'm unable to reproduce the warnings, could you please provide clear steps to reproduce this issue?
Comment #2
Heine CreditAttribution: Heine commentedrender() needs a reference. As menu_tree doesn't return a reference, this construct is invalid.
The solution is to assign the return value of menu_tree to a variable, then call render($variable).
See http://www.php.net/manual/en/language.references.pass.php
Comment #3
c31ck CreditAttribution: c31ck commentedThanks Heine, fixed in http://drupalcode.org/project/deco.git/commit/ab70f5e