Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • ba75 Friend
    #182663

    Hello,

    this topic solved one problem : http://www.joomlart.com/forums/topic/warning-invalid-argument-supplied-for-foreach-templatesja_lenshtmlcom_k2defaul/

    There’s another issue about contents related to a tag :
    Warning: Invalid argument supplied for foreach() in …templatesja_lenshtmlcom_k2defaulttag.php on line 43

    Google displays thousands of pages of the same error.

    Is the problem relevant to K2 structure itself ? (why these bugs aren’t fixed ?)

    I applied the same modification as recomanded for the user.php file, and it works. Is this the right thing to do ?
    Thank you.

    HeR0 Friend
    #474676

    Hi Ba75,

    That is K2 structure, so please follow up with this thread http://www.joomlart.com/forums/topic/warning-invalid-argument-supplied-for-foreach-templatesja_lenshtmlcom_k2defaul/ where you did mention to get your issue fixed in tag.php file.

    This warning only appears when there are not any items ( data ) in K2 component .

    Regards,

    ba75 Friend
    #474726

    Hello,

    thank you HeR0. Ok for applying the same modification in tag.php.

    I had items related to the tags I tested, and they were displayed, but the warning was here all the time.

    Thank you anyway !

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

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

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