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
Related Posts:
- Images uploading to wrong directory after changing to multisite
- Media library not loading after switching the main site of multisite
- How to stop unlink images when remove a site or user
- Multisite media library uploads broken images
- Upload images from one site to another in Multisite
- Problem uploading images
- Show media-frame-menu on custom Media Frame
- Specific upload folder for PDFs in custom Post type in WP multisite
- Get upload URL by blog ID in multisite
- Multisite stuck at 1MB for max file size
- Which asset URLs are acceptable in a “vanilla” MU install?
- Can upload doc and pdf but not ppt – not permitted for security reasons
- Listing of all uploaded files in network sites
- Upload path/URL weirdness for the main blog of a multisite/network setup
- Turn off ms-files.php after network setup
- Organize uploaded media files
- How can I have network sites not use year/month folders by default?
- How to upload images manually to wordpress?
- Sharding BLOGUPLOADDIR
- Advanced Custom Fields Multisite Upload/Imagery Issue [closed]
- How to make WordPress use new Upload Path settings in Multisite Setup
- Hook filter to change wp_upload_dir() path in multisite
- Uploading Images to Multi-Site Causes Failure to HTTP Error
- Shared upload folder in wordpress multisite
- Protect Uploads in Multisite
- Broken image multisite
- .epub file blocked despite ALLOW_UNFILTERED_UPLOADS set to true
- How to get max upload size and accepted file types on multisite?
- Force Uploads Use Yearmonth to off (0) for all existing sites in Multisites
- why when I try to insert an image attachment along with a post does wp_get_attachment_url give me a very wrong file path?
- Why are images not displaying?
- Why are images uploaded to main domain, when using multisite with different domains?
- Prevent images on self-hosted WordPress from being served from WordPress.com
- Multisite Pull Recent Image Attachments from Blog ID
- Images don’t show up
- Changing path for media upload folder in wordpress multisite
- Image problem – Multisite image upload broken
- Allow Author on Site A capability to upload files on Site B in Multi Site
- Upload file type not permitted even if explicitly registered as upload_filetypes in the db (multisite)
- Where does multisite store image uploads?
- Error uploading files bigger than 58 MB
- WP doesn’t remove uploads from folder when removed from “Media Library”?
- How to protect post attachments related to a custom post type, from non-logged in users, on 1 subsite of a multisite installation?
- Multisite – Images often getting uploaded to the wrong month directory
- Merge Multisites with Shared Network Media Library
- Copying media from multisite subsites to main website
- How to protect specific uploaded files from being accessed by non-logged-in users in WP-multisite
- Multisite sub-directories IIS 7.5 change media/uploads location
- Make uploads live outside of the WP folder
- Conditional Image Sizes for Use via Theme Customizer Upload Only
- Suspicious mesage appears instead of images
- Uploaded images not displaying in network site
- Redirect to another page using contact form 7? [closed]
- Where to set individual blog quotas?
- Save uploads directly in the uploads folder (on a multisite)
- wp_get_attachment_image_src on multisite
- Missing images after moving servers
- wp_get_attachment_image_src returns incorrect URL on multisite
- Multisite adjust uploads like (/upload/%alphanumeric_id%/%file_type%/%blog_ID%)
- Automatically Insert Into Post when uploading Media
- Can I use the same Folder name as a Multisite Blog?
- Hiding media uploaded by other users in wordpress multisite?
- Multisite missing tmp folder error while uploading
- unable to write to the database while uploading images
- WordPress Multisite: Images moved to /sites/1?
- Multisite subdirecty added inside URL to uploaded files
- How To Upload Existing WordPress Site To WordPress Multisite Using SSH
- Remove multisite part from wordpress multisite upload directory
- How to set upload path after renaming uploads folder in Multisite?
- Shared upload folder in wordpress multisite with custom sub site domain pictures URL:s
- WordPress Multisite subdomains and sharing the same upload folder
- New wordpress uploads are broken
- Primary site file uploads failing, subdirectory subsites upload fine
- Crop image sizes directly from Media Library across network (not attached to post or page but sidebar)
- ACF Image Object Sizes Issue on Multisite
- Multi site and media uploader
- Images on WP Network’s subsite appear only if accessed via main site’s url
- MP4 upload ok, but HTTP500 if I update the file (multisite)
- All links to images are broken in a subdomain multi site environment
- My subdirectory sites images (except webP) are throwing to 404 page even they are exist
- Using MAMP and Xip.io to view a WordPress Multisite on a local network
- REST API for Multisite
- Uploading an image as featured image from frontend form
- Subdomain login problems
- Shared User Tables on 2 WordPress Sites; “Main” Site and “Discuss” using P2?
- How to disable W3 Total Cache “Performance” menu under multisite? [closed]
- Multisite on localhost using xampp
- creating front end image uploader that uploads images as posts
- WordPress Multisite’s in subdirectory not redirecting to dashboard settings
- Upload multiple images to a Woocomerce product
- How to replace images?
- WordPress multi-site, developing locally and syncing live changes
- How To Run Multiple Multi-Site Networks On Same Box [closed]
- Changed sub-site to its own domain trigger 302 redirects for all page links
- How to have one installation at blog.example.com and multiple blogs in sub folders such as blog.example.com/userA?
- Possible to have duplicate usernames on different two multisites
- Main site media are accessible in subsite domain
- Including non-wordpress pages within a single multisite domain
- How can I import posts into different wordpress multisites at once?
- Many big issues in the website, WP_Debug not showing