Site icon Hip-Hop Website Design and Development

How do I fix "Sorry, this file type is not permitted for security reasons"

When I try to upload any PNG file, I get the following error message:

I have no plugin or anything installed, that could cause this. I even added the following line in order to fix this:

define('ALLOW_UNFILTERED_UPLOADS', true);

Since it is a local installation, security is not an issue. But still this didn’t fix my problem. Any ideas what could cause this problem?