cherosoullis VIP
Total posts: 165
16 Нояб 2013 17:47

I am getting the following error on fields:

Warning: htmlspecialchars() expects parameter 1 to be string, array given in /home/www/erodotou.com/libraries/joomla/form/fields/text.php on line 204

Последние изменения: 02 Март 2014


hwdevteam VIP
Total posts: 76
16 Нояб 2013 22:57

I had this error as well a couple of weeks back - I forgot to report it..

my Temp fix was to add the following at line 52 of libraries/joomla/form/fields/text.php

    //BUG: Cobalt sometimes mistakenly sends an array instead of a string.

    if(is_array($this->value)) $this->value = $this->value[0]; // Crude fix till Cobalt is fixed.

Konstantin
Total posts: 1,113
19 Нояб 2013 03:19

Can anyone give some instruction how can I reproduce this error to fix them?


cherosoullis VIP
Total posts: 165
19 Нояб 2013 06:09

Is it ok to give you access to my testing site for further investigation?


Konstantin
Total posts: 1,113
19 Нояб 2013 22:55

Yes, can you give access in admin, ftp and links where this errors appears.


Konstantin
Total posts: 1,113
24 Нояб 2013 23:48

Can you give a link where this notice appear, because I can't find it.


Konstantin
Total posts: 1,113
27 Нояб 2013 01:07

Thank you, fixed.


cherosoullis VIP
Total posts: 165
29 Нояб 2013 15:08

Up to version 8.430 which I have installed the problem still exist


pepperstreet VIP
Total posts: 3,837
29 Нояб 2013 19:39

Just a quick thought: Did you change the field type on any time? I mean, after adding some data... maybe this could result in mixed field values?


cherosoullis VIP
Total posts: 165
02 Дек 2013 11:41

I still haven't added any data to that fields.

Работает на Cobalt