Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • spresser12 Friend
    #166226

    I apologize in advance if I’m posting this incorrectly. I posted this last week but I think I put it in the solved problems area and that’s why I have not received a response. Below is the issue. Any help is appreciated:

    Error on site: Invalid Argument Supplied for foreach() in
    …/components/com_jacomment/views/comments/view.html.php
    on line 721

    Error on site: Invalid Argument Supplied for foreach() in
    …/components/com_jacomment/views/comments/view.html.php
    on line 627

    Stork11 Friend
    #400866

    Hello,

    Please open “…/components/com_jacomment/views/comments/view.html.php” file, then insert the following code into:

    Line 627, please insert before this line “foreach ($items as $item){“
    [PHP]
    if (!$items) return null;
    [/PHP]

    Line 721, please insert before this line “$children = array();”
    [PHP]
    if (!$itemAll) return null;
    [/PHP]

    This bug occurs when there is no comment posted. It will be fixed in next version of JA Comment.

    Thanks for your report.

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

This topic contains 2 replies, has 2 voices, and was last updated by  Stork11 13 years, 4 months ago.

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