-- Ralf Eggert <[EMAIL PROTECTED]> wrote (on Friday, 09 May 2008, 02:32 PM +0200): > Hi Matthew, > > >> If I try it, I get an fatal error: > >> > >> Fatal error: Call to a member function getOrder() on a non-object in > >> /home/devhost/phpmagazin/form/library/Zend/Form.php on line 824 > > > > Hmmm... Can you send some reproduce code for this? > > I attached an XML file to this mail. I got the error with 1.5.1 release > but I bet it is due to the incorrect XML file with two <elements> Sections.
Verified -- when I moved the contents of the second 'elements' section into the original, it worked correctly. I suspect what's happening is that 'elements' is now being seen as an array with two members, with each member an array of elements. Whatever the case, it's a malformed config file. > > This is an interesting idea. Could you put a request in the issue > > tracker for this? It would be fairly trivial to implement, and would > > solve a number of the issues people have reported regarding the usage of > > setElementDecorators(). > > Ok, done: http://framework.zend.com/issues/browse/ZF-3228 Thanks! -- Matthew Weier O'Phinney Software Architect | [EMAIL PROTECTED] Zend - The PHP Company | http://www.zend.com/
