A third-party module for my Drupal system (the “backbone” running most remino.net sites) was displaying an error when a user was posting a comment. However, those comments were posted without any problems.
Line 225 of subscription.module v1.5 had a little mistake. A previous line was loading node data into a variable, which is always in the form of an object, not an array. However, the line in question here was treating that variable as an array.
I replaced this, at line 225:
$new_object = (array_merge($comment, array('parent_uid' => $parent_node['uid'])));
With the following:
$new_object = (array_merge($comment, array('parent_uid' => $parent_node->uid)));
I also corrected the way the author of the module uses Drupal’s t() to display a link in each content node. Not only it will make it easier for translators, but also will keep it grammatically correct.
Now everything is fine!