How to fix quickly the "Cheatin' Uh" error when uploading media after a WordPress update to 3.4.2
Many WordPress site owners using a custom theme have a experienced an error when trying to add new media to their WordPress website after updating to version 3.4.2. The error message says “Cheatin’ UH?” in the english version and “Κλέβουμε;” in the Greek version.
This issue is caused by the theme’s bad coding, which is not compatible with some of the features in the 3.4.2 version of WordPress.
The best solution would be to contact your theme creator and ask for a fix or a theme update, but as many of you may be in a hurry and want to fix this annoying issue quickly you can try the following:
- Get the following files from 3.3.2 WordPress version (if you have one available):
- If you do not have access to an older WordPress installation you can download them from here using the links below:
- Now you have to move the 3.3.2 version files to your current 3.4.2 version installation. Before moving the files, backup your current ones by renaming them (e.g. media-upload.php.bak)
- After renaming the original files of the WordPress 3.4.2 installation move the old files to your wp-admin folder.
Everything should be working fine now if your try to upload a file.
This is not the “safest” solution you can follow! This change may cause other WordPress features not to work, since we are replacing two basic WordPress core files with older versions but it’s a quick way to make this work. Let me know if you have other suggestions or if this worked for you!