Allowed file types not saving + error
-
Hi there,
First of all thanks for creating this plugin!
When I go to option > allowed file types and remove certain file types I have no option to save those settings. I thought they might save automatically, but when I visit that page again all file types are back.
When I try to upload a file that shouldn’t be supported it does upload and show in the list, but when I go to preview it, it says ‘Sorry the file type you are trying to preview is unsupported.’ (that’s correct ofcourse, but I also don’t want them to upload in the first place.)
Also when uploading I get an error: An Error has occured on line 320 of the mdocs-functions.php file. I looked it up and it’s this part
$upload_dir = wp_upload_dir();
This error started after I tried to disallow certain file types, before I did that there was no error (and I made no other changes).Can you please help me to fix these issues?
Best regards,
The topic ‘Allowed file types not saving + error’ is closed to new replies.