Problem
You’re trying to upload a file into WordPress and you’re getting the error, “Sorry, this file type is not permitted for security reasons”.
Solution
Using FTP or File Manager, open your wp-config.php file (warning: for advanced users only). Add the following line to the file anywhere after <?php and without disrupting any other lines of code:
define('ALLOW_UNFILTERED_UPLOADS', true);