Hi tomczech,
I changed the empty string values to NULL instead:
$comment_id = isset($_REQUEST['rcommentid']) ? $_REQUEST['rcommentid'] : NULL;
$comment_hash = isset($_REQUEST['rchash']) ? $_REQUEST['rchash'] : NULL;
This removed both the line 480 and 481 errors for me.
Hope this helps