Page 1 of 1

Notice: Undefined index: alias

Posted: Wed Jan 20, 2010 12:50 am
by indian98476
Notice: Undefined index: alias in .../app/plugins/ace/controllers/request_elements_controller.php on line 236...
so, i want to know whats this error meant for? is it for a variable that is undefined?

Re: Notice: Undefined index: alias

Posted: Wed Jan 20, 2010 1:57 am
by requinix
"Undefined index: alias" means the "alias" [array] index is undefined.

Code: Select all

$array = array("key" => "value");
echo $array["foo"]; // undefined index: foo

Re: Notice: Undefined index: alias

Posted: Wed Jan 20, 2010 3:17 am
by indian98476
thanx i understand that...but where does alias fit in here?

Re: Notice: Undefined index: alias

Posted: Wed Jan 20, 2010 5:31 am
by requinix
indian98476 wrote:thanx i understand that...but where does alias fit in here?
I don't know. It's your code - you find it.

Re: Notice: Undefined index: alias

Posted: Wed Jan 20, 2010 9:59 am
by pickle
Somewhere in your code, an element in an array is trying to be referenced by using the "alias" index - similar to the "foo" index in ~tasairis' example.

Re: Notice: Undefined index: alias

Posted: Mon Feb 08, 2010 1:14 am
by indian98476
thanx guyz...