I cannot reproduce this, everything works fine.
You can check whether the following function works or gives an error on your site:
add_action( ‘init’, ‘dae_test’ );
function dae_test() {
var_dump( mckp_create_nonce( ‘your-file.ext’, ‘[email protected]’ ) );
}
This function should output a nonce value and save it into the wp_options table.