Closed (fixed)
Project:
Drupal core
Version:
7.22
Component:
configuration system
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Issue tags:
Reporter:
Created:
7 May 2013 at 05:03 UTC
Updated:
9 May 2013 at 06:58 UTC
I am getting the below error when I used drupal_render(drupal_get_form('my_form')) on a page in Drupal 7 Installation.
Only variables should be passed by reference in my_custom_function() (line 16 of /modules/php/php.module(80) : eval()'d code)
Comments
Comment #1
longwavedrupal_render() takes a reference, so you cannot pass drupal_get_form() to it like that.
Try:
Comment #2
kirantej_p commentedThank you very much. I've been working on it since 2 days.
Thanks once again.
Comment #3
kirantej_p commentedThanks. Issue closed.