test
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • sayf6589 Friend
    #188168

    I’m getting the following error on the search output page. It is also appearing on the item pages in the module position

    Warning: trim() expects parameter 1 to be string, array given in /home/xxxxxx/public_html/libraries/phputf8/trim.php on line 66

    Any ideas?

    HeR0 Friend
    #495890

    Hi Say,

    Because the JA K2 Filter is using K2 function to process data and I found the issue caused from file com_k2/models/item.php . So I fixed issue with small change
    [PHP]if (JString::trim($value) != ”)[/PHP]
    To
    [PHP]if (is_string($value) && JString::trim($value) != ”)[/PHP]

    Let me know if this helps.

    Regards

Viewing 2 posts - 1 through 2 (of 2 total)

This topic contains 2 replies, has 2 voices, and was last updated by  HeR0 11 years, 5 months ago.

We moved to new unified forum. Please post all new support queries in our New Forum