When you try to upload an image/logo from your “theme” or “media library” yo will get the below error

Error: “Cheatin’ uh?”

Use the following steps to resolved the issue.
1) Open the file media-upload.php via WordPress dashboard or in your Favorited editor.

[root@vps~]# vi wp-admin/media-upload.php

and go to  line number 126 or find word Cheatin.
and Just comment  the code 

 

From

wp_die( __( ‘Cheatin’ uh?’ ) );

To

// wp_die( __( ‘Cheatin’ uh?’ ) );

Save the file :wq!

That’s it you have Done 😀