5 users online. Create an account or sign in to join them.Users
Submitting the register form results in Symphony Warning
A for , submitted by bauhouse on 16 February 2010
Announcement
Symphony's issue tracker has been moved to Github.
Issues are displayed here for reference only and cannot be created or edited.
Browse
Closed#231: Submitting the register form results in Symphony Warning
This may be related to this issue:
strip_tags() expects parameter 1 to be string, array given
C:UsersNilsArbeitServerdeobsessive-mediatracsymphonylibtoolkitclass.lang.php line 130
125 if($apply_transliteration) $string = _t($string);
126
127 $max_length = intval($max_length);
128
129 ## Strip out any tag
130 $string = strip_tags($string);
131
132 ## Remove punctuation
133 $string = preg_replace('/[\.'"]+/', NULL, $string);
134
2.0.7 final has been releases without fixing this issue? Great…
eh? I could have sworn I fixed that.
strip_tags() expects parameter 1 to be string, array given
I think I will need more information that just that. What is calling the function?
I am going to close this issue since the original problem, posted by bauhouse as been addressed.
This issue is closed.
Navigating to the register page of the Members Extension Reference Ensemble, filling out the form details and clicking on the submit button results in the following error:
strlen() expects parameter 1 to be string, array given /Users/stephen/Sites/sym/members-ensemble/symphony/lib/toolkit/class.general.php line 590 585 Return: rebuilt array 586 587 ***/ 588 public static function array_to_xml(XMLElement $parent, array $data, $validate=false) { 589 foreach ($data as $element_name => $value) { 590 if (strlen($value) == 0) continue; 591 592 if (is_int($element_name)) { 593 $child = new XMLElement('item'); 594 $child->setAttribute('index', $element_name + 1);(Originally posted on the Members Reference Ensemble issues page, but Alistair said this really belongs here. I wasn’t sure what to name this issue, because I don’t really know the underlying cause.)
@alpacaaa suggested the following as a solution: replace this:
with this