By annu_singh on
Hi,
I m getting Warnigs On my page.I had made my own form in drupal modules.
Warning is:warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\TherapistMgmtSystem\code\hotel\includes\form.inc on line 950.
Hi,
I m getting Warnigs On my page.I had made my own form in drupal modules.
Warning is:warning: Invalid argument supplied for foreach() in C:\xampp\htdocs\TherapistMgmtSystem\code\hotel\includes\form.inc on line 950.
Comments
please provide steps to
please provide detailed steps to replicate.
less == more
Detail Steps
Hi,
I think so that this is the cause of error.
I had created blocks. Suppose i had called a function abc for block.
i.e. is
function abc()
{
return drupal_get_form('xyz');
}
function xyz()
{
$form = array();
made form
return $form;
}
Is there any warning issue in this code.
Thanks,
Annu