Try add the second parameter like:
$post_id = wp_insert_post( $new_post, true );
If it still won’t work, please var_dump the $post_id and paste here.
Try add the second parameter like:
$post_id = wp_insert_post( $new_post, true );
If it still won’t work, please var_dump the $post_id and paste here.