Sunday, 19 May 2013

Mengatasi Masalah k2 2.6.2 /mod_lofk2tabnews/libs/elements/text.php on line 50

When opening the module in the  backend, i get this where the category selectbox should be:
Warning: htmlspecialchars() expects parameter 1 to be string, array given in /XXXXXXX/public_html/modules/mod_lofk2tabnews/libs/elements/text.php on line 50

Is there a fix for this ?

Greetz, Rick


Please try to do as following to resolve the issue:
- Open the file "text.php" in the folder "modules/mod_lofk2tabnews/libs/elements/", then find code:

Code:


return '<input type="text" name="'.$this->name.'" id="'.$this->id.'"' .
retplace to:

Code:


$this->value = is_array($this->value)?implode(",", $this->value):$this->value;

return '<input type="text" name="'.$this->name.'" id="'.$this->id.'"' .

http://www.landofcoder.com/supports/rss-feed.html?option=com_agora&task=topic&id=2338&Itemid=73