WordPress: “Sorry, this file type is not permitted for security reasons” when trying to upload standard image files

Does anyone know of any workaround for this?

I’m trying to upload .jpg and .png files, both file types allowed in standard WordPress settings, but I get the above error.

The workarounds I’ve googled so far don’t work as WordPress no longer sees the files i’m uploading as images. These are the plugin: Disable Real Mime Check, and variations of code that allow unfiltered uploads in the functions.php file.

I’m sometimes able to get my images uploaded but mostly not, and I can’t see a pattern to which images get uploaded and which don’t.

Any advice?

Leave a Comment