I get the following warning when rendering the Task Console:

Strict warning: Only variables should be passed by reference in maestro_show_message() (line 44 of /var/www/htdocs/sites/all/modules/maestro/modules/maestro_common/maestro_common.module).

It only occurs when there is a task listed in the console.

Line 44 reads:

$retval->html = drupal_render(drupal_get_form('maestro_show_message_form',array('message' => $parms['message'])));

I could find only one Maestro issue that included drupal_get_form, and it did not seem to pertain.

I can find examples of this warning in other module issue queus, and some example fixes, but I figured I would open this ticket. I am guessing I could disable strict, but I don't like to start there lest I become dumber :)

Comments

geste created an issue. See original summary.

_randy’s picture

Use the dev release. Has those fixes.

geste’s picture

Thanks. I should have eyeballed dev code, but dumbly assumed it would of course be in an issue.

Jim

_randy’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.