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.

Cheatin uh? error page

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:

  1. Get the following files from 3.3.2 WordPress version (if you have one available):
    • wp-admin\admin.php
    • wp-admin\media-upload.php
  2. If you do not have access to an older WordPress installation you can download them from here using the links below:
  3. 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)
  4. 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!

Panagiotis

Written By

Panagiotis (pronounced Panayotis) is a passionate G(r)eek with experience in digital analytics projects and website implementation. Fan of clear and effective processes, automation of tasks and problem-solving technical hacks. Hands-on experience with projects ranging from small to enterprise-level companies, starting from the communication with the customers and ending with the transformation of business requirements to the final deliverable.