Re: QFC strange problem

From: Date: Thu, 11 Mar 2004 20:58:04 +0000
Subject: Re: QFC strange problem
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11242@lists.php.net to get a copy of this message
Hi! Daniel Kopp wrote:
I have a big number of pages in a (non-modal) controller. There is one page which is accessible from 2 different pages. If I come from the one page - everything works fine. If I come from the other page - also first everything works but then ... if I click in that page (to reload it with different data) I get the following error: Warning: htmlspecialchars() expects parameter 1 to be string, array given in xxx\HTML\QickForm\element.php on line 215 Warning: htmlspecialchars() expects parameter 1 to be string, array given in xxx\HTML\QuickForm\element.php on line 221 Can someone please tell me where this error message comes from?
The message obviously come from getFrozenHtml() method, and is caused by some element having an array as a value instead of string. Difficult to say anything else without seeing how the forms are defined...
I tried to play around and found out that in the place where PEAR expects a string and not an array - all the elements of the former page appear. I am very confused why this happens and would appreciate help very much!


« previous php.pear.general (#11242) next »