I disabled all plugins except this one and the problem does not go away. This is the code I am using.
function create_competitor(){
if (isset($_POST[‘ncheck’])){
$userdata = array(
‘user_login’ => ‘bobbilly’,
‘user_url’ => ‘xxxxx’,
‘user_pass’ => NULL,
‘first_name’ => ‘bob’,
‘last_name’ => ‘billy’,
);
$user_id = wp_insert_user( $userdata ) ;
}
?>
<form method=”post”>
<input type=”hidden” name=”ncheck”>
<input type=”submit” name=”submitnew” value=”Save This Student” id=”submitnew”/>
</form>
<?
}