Title: edgr.sanchez's Replies | WordPress.org

---

# edgr.sanchez

  [  ](https://wordpress.org/support/users/edgrsanchez/)

 *   [Profile](https://wordpress.org/support/users/edgrsanchez/)
 *   [Topics Started](https://wordpress.org/support/users/edgrsanchez/topics/)
 *   [Replies Created](https://wordpress.org/support/users/edgrsanchez/replies/)
 *   [Reviews Written](https://wordpress.org/support/users/edgrsanchez/reviews/)
 *   [Topics Replied To](https://wordpress.org/support/users/edgrsanchez/replied-to/)
 *   [Engagements](https://wordpress.org/support/users/edgrsanchez/engagements/)
 *   [Favorites](https://wordpress.org/support/users/edgrsanchez/favorites/)

 Search replies:

## Forum Replies Created

Viewing 9 replies - 1 through 9 (of 9 total)

 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Invalid argument errors when uploading media or new post on one subsite](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/)
 *  Thread Starter [edgr.sanchez](https://wordpress.org/support/users/edgrsanchez/)
 * (@edgrsanchez)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/#post-5505500)
 * I ended up paying WP Fix It $39 to get rid of this issue for me.
 * It took them about 15 minutes total.
 * They came back and told me that they reinstalled WordPress manually.
 * The issue is completely gone and everything is working perfectly.
 * What gives? How does one reinstall WordPress manually?
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Invalid argument errors when uploading media or new post on one subsite](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/)
 *  Thread Starter [edgr.sanchez](https://wordpress.org/support/users/edgrsanchez/)
 * (@edgrsanchez)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/#post-5505471)
 * Nope, it’s only breaking on a single site that doesn’t even have a custom functions.
   php file any more, as I deleted it to test if that was causing the issue.
 * Here’s what my code look like:
 * > [View post on imgur.com](https://imgur.com/0se56x0)
 * I wasn’t aware that I didn’t have to close the tag at the end of the file………..
   I’ll fix that right now on the rest of the function.php child themes.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Invalid argument errors when uploading media or new post on one subsite](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/)
 *  Thread Starter [edgr.sanchez](https://wordpress.org/support/users/edgrsanchez/)
 * (@edgrsanchez)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/#post-5505468)
 * Oops good catch, I meant to say site-wide. I added the following code to the 
   functions.php file within each child theme.
 *     ```
       <?php
   
       // Allow SVG image files to be uploaded to media library
       function cc_mime_types( $mimes ){
       	$mimes['svg'] = 'image/svg+xml';
       	return $mimes;
       }
       add_filter( 'upload_mimes', 'cc_mime_types' );
   
       ?>
       ```
   
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Invalid argument errors when uploading media or new post on one subsite](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/)
 *  Thread Starter [edgr.sanchez](https://wordpress.org/support/users/edgrsanchez/)
 * (@edgrsanchez)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/#post-5505456)
 * Nope. Deleted wp-inlcudes and wp-admin completely then reuploaded from a freshly
   downloaded copy of WordPress 4.0.1 and still not luck.
 * Thinking of hiring WP Fix It if I can’t solve the issue. :-/
 * The SVG filetype shouldn’t have affected this site because I added it within 
   functions.php inside of the child theme directory for the sites that needed it.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Invalid argument errors when uploading media or new post on one subsite](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/)
 *  Thread Starter [edgr.sanchez](https://wordpress.org/support/users/edgrsanchez/)
 * (@edgrsanchez)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/#post-5505454)
 * Ipstenu,
 * Thanks for the suggestions. Trying that now.
 * Nothing really changed that would have affected this one specific site. I enabled
   support for SVG images network wide, so that I could use them in header logos
   since PNGs were looking blurry on retina devices.
 * I’ll look into this to figure out if this could have caused it.
 * Sites are not limited in how much file upload space they can use.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Invalid argument errors when uploading media or new post on one subsite](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/)
 *  Thread Starter [edgr.sanchez](https://wordpress.org/support/users/edgrsanchez/)
 * (@edgrsanchez)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/#post-5505293)
 * I’ve just disabled all plugins that were network enabled and plugins enabled 
   for the specific site as well. No luck.
 * I’ve tried switching to the Twenty Fourteen theme. No luck.
 * I’ve noticed that when I upload images, even though it gives me that error message
   and appears to fail, the image is in fact uploaded.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Invalid argument errors when uploading media or new post on one subsite](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/)
 *  Thread Starter [edgr.sanchez](https://wordpress.org/support/users/edgrsanchez/)
 * (@edgrsanchez)
 * [11 years, 5 months ago](https://wordpress.org/support/topic/invalid-argument-errors-when-uploading-media-or-new-post-on-one-subsite/#post-5505284)
 * This is what the error looks like on the screen:
 * > [View post on imgur.com](https://imgur.com/FS3zhOF)
 * The same exact error shows up when creating a new post and when attempting to
   upload media. Oddly enough it only shows up when viewing the media library as
   a grid and not as a list.
 * This is ONLY on this site.
 *   Forum: [Networking WordPress](https://wordpress.org/support/forum/multisite/)
   
   In reply to: [Can I upload a file to the root of a subsite? For example a sitemap.xml file](https://wordpress.org/support/topic/can-i-upload-a-file-to-the-root-of-a-subsite-for-example-a-sitemapxml-file/)
 *  Thread Starter [edgr.sanchez](https://wordpress.org/support/users/edgrsanchez/)
 * (@edgrsanchez)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/can-i-upload-a-file-to-the-root-of-a-subsite-for-example-a-sitemapxml-file/#post-5151153)
 * Yeah I guess so… though my goal was to stay away from having a bunch of random
   plugins for basic functionality.
 *   Forum: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
   
   In reply to: [Add Border to Image](https://wordpress.org/support/topic/add-border-to-image-1/)
 *  [edgr.sanchez](https://wordpress.org/support/users/edgrsanchez/)
 * (@edgrsanchez)
 * [11 years, 9 months ago](https://wordpress.org/support/topic/add-border-to-image-1/page/3/#post-4821528)
 * I agree with the others. It is not kind to remove features that were already 
   introduced.

Viewing 9 replies - 1 through 9 (of 9 total)