When adding a template file htmlmail--example_module--outgoing_message.tpl.php to my theme directory, following notice is shown twice after flushing the cache:

Notice: Undefined index: render element in drupal_find_theme_templates() (line 1092 of C:\***\includes\theme.inc).

Also happens when using htmlmail--example_module.tpl.php, but it doesn't happen using htmlmail.tpl.php.

Comments

pillarsdotnet’s picture

Status: Active » Needs work

Trying to duplicate...

pillarsdotnet’s picture

Was able to duplicate the problem.

Troubleshooting...

pillarsdotnet’s picture

Version: 7.x-2.40 » 7.x-2.x-dev
pillarsdotnet’s picture

Version: 7.x-2.x-dev » 7.x-2.40
Assigned: Unassigned » pillarsdotnet
Status: Needs work » Fixed

Version: 7.x-2.x-dev » 7.x-2.40
Status: Fixed » Closed (fixed)

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

Rathod03’s picture

Issue summary: View changes

hii

I am converting custom module from D6 to D7
but i got Notice: Undefined index: render element in theme()
and fix 'arguments' as 'variables' but still getting the Notice
can any one tell how to remove it