8 years ago
5
Topic

After update to 3.8.0

Field: Select Dynamic

(Multiple: Yes) =>

Warning: htmlspecialchars() expects parameter 1 to be string, array given in .../libraries/cms/cck/plugin/field.php on line 1116

(Multiple: No) =>

Ok

Get a Book for SEBLOD
4229 Posts
Kadministrator
8 years ago
1
Level 1

Hi,

in which view do you get this? I tried to replicate it without success

8 years ago
0
Level 2

Hi!
Thank you for your answer.
The field is in a List&Search.

SQL Query:

SELECT alias AS value, title AS text FROM #__content c WHERE
catid = 242
AND (
   state = 1
   AND (
      EXISTS (
        SELECT * FROM #__cck_core_sites s WHERE s.name=(SELECT site_name FROM #__imasu_tmp)
        AND
         Locate(
            Concat(',',Cast(c.access as Char) collate utf8mb4_unicode_ci,','), Concat(',',s.viewlevels,',')
         )
      )
   )
)
ORDER BY title

Moreover, the error only occurs when you output the list in the module.

Here in the menu List&Search - Ok

But here in the modules:

4229 Posts
Kadministrator
8 years ago
1
Level 1

Now I can confirm it - ewrning appears when hidden variation is used, seems it is forced in list module (to hide search fields). I made a tracker issue for it

https://github.com/Octopoos/SEBLOD/issues/195

8 years ago
0
Level 2

Thank you for your help and in General for Seblod.

8 years ago
0
Level 1

Thank you for your help and in General for Seblod.

Get a VIP membership