comments for all object in elgg 1.8

1.open engine/lib/navigation.php

in the line 352 replace:

if ($object->canComment()) {


for


if ($object) {



2.open actions/comments/add.php


and delete this line: 59

add_to_river('river/annotation/generic_comment/create', 'comment', $user->guid, $entity->guid, "", 0, $annotation);



enjoy :)