Closed (duplicate)
Project:
Drupal core
Version:
7.x-dev
Component:
other
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
5 Jul 2009 at 00:41 UTC
Updated:
12 Oct 2009 at 17:31 UTC
This construct...
drupal_render(drupal_get_form('some_form'))
... is causing a bunch of strict warnings.
Comments
Comment #1
alpritt commentedFrom http://drupal.org/node/353069#comment-1552904 where this was introduced:
So a patch for this issue needs to fix code that *does* require drupal_render() (such as in install.php), and then make sure we have issues for fixing other occurrences The Right Way.
Comment #2
alpritt commentedBeing pedantic.
Comment #3
alpritt commentedeh, I shouldn't rely on issues titles to describe bugs properly. Sample message:
Strict Standards: Only variables should be passed by reference in /Users/alanpritt/Sites/htdocs/head_headtpl3diff/install.php on line 435Comment #4
mfbSee also #348448: Always report E_STRICT errors which fixes all the drupal_render() calls (if not The Right Way).
Comment #5
mfbLet's resolve this in #348448: Always report E_STRICT errors