‘Cheatin’ uh?’ Error When Attempting to Upload Images After 3.4 Update

Since updating my WP Multisite to 3.4, my subdomain admins get the ‘Cheatin’ uh?’ error whenever trying to insert images into posts / custom posts. It seems to be a theme issue.

Related posts

Leave a Reply

2 comments

  1. So after trying pretty much all the solutions I found on google, I found the solution to my problem:

    Its possible that your theme uses some other theme options framework. If this is the case, you need to find the call to media uploader window and remove the post_id from it to fix the issue. The code will look something like this:

    tb_show('', 'media-upload.php?post_id='+jQuery('#post_ID').attr('name')+'&type=image&TB_iframe=1');

    Replace it with this code:

    tb_show('', 'media-upload.php?post_id=0&type=image&TB_iframe=1');

    More fixes here: http://www.agentwp.com/fix-cheatin-uh-error-in-wordpress