Title: CSV not uploading
Last modified: December 13, 2018

---

# CSV not uploading

 *  [kparker2213](https://wordpress.org/support/users/kparker2213/)
 * (@kparker2213)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/)
 * as of 4:43. last evening we could upload CSV files fine, we use gravity forms.
   we have done no updates in our environments, as of today we get an error stating
   the file type is not allowed.
 * any ideas??? we are NOT on 5.0.1 yet we are on 4.9.9
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fcsv-not-uploading%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/csv-not-uploading/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/csv-not-uploading/page/2/?output_format=md)

 *  [c1110366](https://wordpress.org/support/users/c1110366/)
 * (@c1110366)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10984400)
 * Same problem for us. It says something about security problems. Yesterday i was
   able to upload without any problems.
 *  [pmuwppress](https://wordpress.org/support/users/pmuwppress/)
 * (@pmuwppress)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10984451)
 * The same issue, on multiple WordPress sites. Woocommerce and non-Woocommerce 
   sites. Sites updated to 4.9.9 so I think probably related to this update. Will
   do some testing with a restore and provide feedback.
 *  Thread Starter [kparker2213](https://wordpress.org/support/users/kparker2213/)
 * (@kparker2213)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10984471)
 * thank you, in the mean time this plugin corrected our issue, its a temporary 
   solution. install and activate it, no setting needed to be adjusted for me. it
   began to allow CSV….
 * [plugin](https://wordpress.org/plugins/disable-real-mime-check/)
 *  [pmuwppress](https://wordpress.org/support/users/pmuwppress/)
 * (@pmuwppress)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10984548)
 * Thanks [@kparker2213](https://wordpress.org/support/users/kparker2213/)
 *  [cromagrickman](https://wordpress.org/support/users/cromagrickman/)
 * (@cromagrickman)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10984894)
 * I’m having the same issue. Disabling the MIME check is definitely an option but
   is a security risk so I’d like to avoid that. Before, you could use the “upload_mimes”
   filter to add MIME types that were previously not allowed, but that code doesn’t
   seem to be making any difference this time. Below code for reference (added to
   a functions.php file in my child theme):
 *     ```
       // Function to allow .csv uploads
       function drick_custom_upload_mimes($mimes = array()) {
   
       	// Add a key and value for the CSV file type
       	$mimes['csv'] = "text/csv";
       	return $mimes;
       }
       add_filter('upload_mimes', 'drick_custom_upload_mimes');
       ```
   
 * **EDIT** I had “add_action” instead of “add_filter” but it still doesn’t work.
   Official code on wordpress.org: [https://codex.wordpress.org/Plugin_API/Filter_Reference/upload_mimes](https://codex.wordpress.org/Plugin_API/Filter_Reference/upload_mimes)
    -  This reply was modified 7 years, 7 months ago by [cromagrickman](https://wordpress.org/support/users/cromagrickman/).
 *  Thread Starter [kparker2213](https://wordpress.org/support/users/kparker2213/)
 * (@kparker2213)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10985021)
 * hmm interesting, I assume WordPress will push the “fix” for this asap but would
   be nice to know. So, do you all use the plugin to enable/disable automatic updates??
   I have the bigger updates like WP 5.0.1 disabled as far as auto-updates, but 
   minor updates must be turned on somewhere?? when I go to settings> there is no
   option for “automatic updates” and I think it may be only if you have the plugin.
 *  [cdonner](https://wordpress.org/support/users/cdonner/)
 * (@cdonner)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10995402)
 * Some problem with the Give plugin. Cannot import donations anymore.
 *  [linuxhombr3](https://wordpress.org/support/users/linuxhombr3/)
 * (@linuxhombr3)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10996342)
 * Hi Everyone,
 * **
    Any resolutions to this?
    Is this widespread? What would be the best means
   to getting my files importing, which were importing just fine previously…
 * All are CSV files daily imported with product SKUs, etc.
 * Please advise WordPress Brethren!
 * Kind Regards,
    LinuxHombr3
 *  Thread Starter [kparker2213](https://wordpress.org/support/users/kparker2213/)
 * (@kparker2213)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10998497)
 * also wondering the same… when will WP push the update to fix this??
 *  [cromagrickman](https://wordpress.org/support/users/cromagrickman/)
 * (@cromagrickman)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10998504)
 * You can follow the progress of the patch here: [https://core.trac.wordpress.org/ticket/45615](https://core.trac.wordpress.org/ticket/45615)
 *  Thread Starter [kparker2213](https://wordpress.org/support/users/kparker2213/)
 * (@kparker2213)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-10998607)
 * thank you
 *  [pmuwppress](https://wordpress.org/support/users/pmuwppress/)
 * (@pmuwppress)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-11001243)
 * Does anyone know if the CSV Upload “fix” (MIME upload) will be included in the
   5.0.2 release? And will there also be a fix release for the 4 Branch?
 *  [linuxhombr3](https://wordpress.org/support/users/linuxhombr3/)
 * (@linuxhombr3)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-11002271)
 * When is the 5.0.2 release expected anywho?
 *  [linuxhombr3](https://wordpress.org/support/users/linuxhombr3/)
 * (@linuxhombr3)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-11002280)
 * Here is a temp solution, team:
    [https://gist.github.com/rmpel/e1e2452ca06ab621fe061e0fde7ae150](https://gist.github.com/rmpel/e1e2452ca06ab621fe061e0fde7ae150)
    -  This reply was modified 7 years, 7 months ago by [linuxhombr3](https://wordpress.org/support/users/linuxhombr3/).
 *  Thread Starter [kparker2213](https://wordpress.org/support/users/kparker2213/)
 * (@kparker2213)
 * [7 years, 7 months ago](https://wordpress.org/support/topic/csv-not-uploading/#post-11002524)
 * we are still on 4.9.9 but they pushed the update that broke CSV uploads so I 
   assume they’ll push the fix. What issues did you all experience with the 5.0.1
   upgrade? We have a lot of customization’s

Viewing 15 replies - 1 through 15 (of 22 total)

1 [2](https://wordpress.org/support/topic/csv-not-uploading/page/2/?output_format=md)
[→](https://wordpress.org/support/topic/csv-not-uploading/page/2/?output_format=md)

The topic ‘CSV not uploading’ is closed to new replies.

 * In: [Fixing WordPress](https://wordpress.org/support/forum/how-to-and-troubleshooting/)
 * 22 replies
 * 7 participants
 * Last reply from: [Marcelo Diament](https://wordpress.org/support/users/marcelodiament/)
 * Last activity: [7 years, 6 months ago](https://wordpress.org/support/topic/csv-not-uploading/page/2/#post-11077508)
 * Status: not resolved

## Topics

### Topics with no replies

### Non-support topics

### Resolved topics

### Unresolved topics

### All topics
