Same problem for us. It says something about security problems. Yesterday i was able to upload without any problems.
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.
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
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 ww.wp.xz.cn: https://codex.ww.wp.xz.cn/Plugin_API/Filter_Reference/upload_mimes
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.
Some problem with the Give plugin. Cannot import donations anymore.
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
also wondering the same… when will WP push the update to fix this??
You can follow the progress of the patch here: https://core.trac.ww.wp.xz.cn/ticket/45615
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?
When is the 5.0.2 release expected anywho?
Here is a temp solution, team:
https://gist.github.com/rmpel/e1e2452ca06ab621fe061e0fde7ae150
-
This reply was modified 7 years, 5 months ago by
linuxhombr3.
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