I've built a simple login form, which displays properly and with no errors. However, when the form is submitted, the following error is all I get:

Fatal error: Cannot unset string offsets in /Users/Steven/Sites/wa3gukin.com/library/Zend/Form/Element.php on line 1999

-------------

I found that particular line, and it says:

if (isset($validator['options']['messages'])) {
    $messages = $validator['options']['messages'];
(1999)  unset($validator['options']['messages']);
}

Echoing $messages shows that it contains only "/". It seems to me that it's trying to unset an array that's actually a string. Is this a bug, or have I somehow managed to improperly set an option/variable in the form?

Reply via email to