Notifications
Clear all

Paid Addons Support Forum Only

Please note, that here we only support Paid Addons issues and questions.

gVectors Support staff works from 6am to 6pm (GMT+0)

All questions related to wpForo and wpDiscuz free plugins should be asked in the corresponding plugin support forum:

 

wpDiscuz Support Forum wpForo Support Forum

Uploading file type error


Menno
Posts: 2
Customer
Topic starter
(@drwoenl)
Member
Joined: 4 years ago

Since the update to 7.0.3, the Media Uploader addon does not allow any user to upload a file with the m4a extension. Upon attempting to do so, I get the default "Not allowed file type" message.

I tried putting the following code in the current active theme functions.php file, but it still doensn't work

add_filter("upload_mimes", function ($t, $u) {
if (empty($t["m4a"])) {
$t["m4a"] = "audio/x-m4a";
}
return $t;
}, 10, 2);
3 Replies
Astghik
Posts: 4787
Admin
(@astghik)
Support Team
Joined: 3 years ago

@drwoenl,

Please navigate to Dashboard > wpDiscuz > Settings > Comment Content and Media admin page make sure the "m4a" checkbox is checked in the "Allowed File Types" section, then remove the code you've added in the functions.php file, delete all caches and check again. 

Reply
Menno
Posts: 2
Customer
Topic starter
(@drwoenl)
Member
Joined: 4 years ago

I tried that but still get the same error

Reply
1 Reply
Astghik
Admin
(@astghik)
Joined: 3 years ago

Support Team
Posts: 4787

@drwoenl,

Please send the admin login details with your website URL to info[at]gvectors.com email address. I'll ask the developers to check the issue for you. 

Reply
Share:
Scroll to top