it appears to be that I don't have any posts at all :) This may be the issue -- its not creating them, and its falling down on null values in

$item = arrayvalues($wpcomments)[0];