After fixing various issues, this finally returns no PHP errors, but doesn't update the database... Maybe it's the syntax of this piece of code ?
The variables $postId, $id, $comment returns correctly in other functions...
public function updateComment($postId, $id, $comment) {
$db = $this->dbConnect();
$commentUpdate = $db->prepare(
'UPDATE comments SET comment, comment_date VALUES(:comment, NOW())
WHERE post_id = :post_id AND id = :id'
);
$affectedLines = $commentUpdate->execute(array(
'comment' => $comment,
'post_id' => $postId,
'id' => $id,
));
return $affectedLines;
}