PHP - Displaying a $ statement inside array
Try
'post_content' => '[poll id=' . $latest_pollid . ']'
or
array( 'comment_status' => 'open', 'ping_status' => 'closed', 'post_author' => $author_id, 'post_name' => $slug, 'post_title' => $pollq_question, 'post_status' => 'publish', 'post_type' => 'post', 'post_content' => '[poll id=' . $latest_pollid . ']' )