I added rule that would react on an event "A comment is viewed" by showing up a message for every new comment added... and it broke every page on which I added new comment (It was all working fine before this rule was introduced, commenting also). For all other pages where there are old comments everything is quite fine. Tried to deleted rule, to disable rules module, cleared cache, run cron... nothing changed. The only thing that gets back my pages without this fatal error is if I disable comments module, but I need comments.

Comments

tr’s picture

Issue summary: View changes
Status: Active » Closed (cannot reproduce)

comment_node_url() was removed from Drupal core a long time ago, see #506650: Remove comment_node_url()
I suspect the problem was that your version of bartik was older than your version of Drupal, and bartik was trying to use the obsolete function.

Regardless, feel free to reopen the issue if this problem is still happening with the current version of Rules and Drupal.