Bug in wp_insert_post script and form, probably something simple I am not seeing

I can notice few problem without debugging –

if (empty($error)) {
    $new_post = array( // this line is missing
        'post_content'      =>  '',/**MUST STAY BLANK!**/

// this line should not be there
do_action('wp_insert_post', 'wp_insert_post');

// variable undefined
$post_title | $post_parent | $success