Security Reminder
Local does a pretty good job of scrubbing private info from the logs and the errors it produces, however there’s always the possibility that something private can come through. Because these are public forums, always review the screenshots you are sharing to make sure there isn’t private info like passwords being displayed.
Hello @foxeslink - welcome to the Local community + thank you for your question!
Are you by chance using Elementor on this site?
If you are using Elementor, it looks like you can enable something called “unfiltered uploads” from your advanced settings to allow you to upload files that are currently blocked by the plugin.
Yes I’m using it, but unfortunately that was already enabled. I tried to disable and enable again but got the same issue. It’s strange because a couple days ago I could upload with any issues
For some reason going back to any other version of elementor is not solving it for me. My unfiltered is Enabled. Any other ways to fix? I want to build a site for a project but it is saying this file is not allowed for security reasons
Turning the Elementor back is only making the editor unable to be used.
Well, my website is live now, I dont have the problem any more but there’s a way around to trick the issue. You can go to media-add media, on the WordPress dashboard. Then you can select the media you Uploaded on elementor.
I’m using windows 10 + localwp Version 8.2.1+6583
and same problem here… after last update from wplocal and elementor plugin 3.19.2
I cannot upload jpg, png, or any other file using elementor editor because I got the
message: when I’m using elementor desing and upload files.
“This file is not allowed for security reasons”
If I upload outside elementor the upload worked…but this is a bad solution.
If someone could help, it will help a lot because I’m in troubles with this problem
Thats bad, im also having this issue after the update and cant upload any type of file, not even .png or .jpg.
I also downgraded elementor, the other plugins i was using and even Local itself but nothing works in the new sites i create.
funny enough, in the older projects i have everything is working accordingly.
I tried plugins to manage and give access to all types of files to be uploaded, put a code on wp-config.php file, but it doesnt work as well.
the only method that works is adding media directly from the dashboard, but thats not practical.
my only resources of studying are the old sites hosted on local.
Same here. Older sites are ok, but the last couple I have added I get this error. I can upload from media section of WP but not from within Elementor directly. None of the fixes I have seen online have worked.
I cannot upload from anywhere in elementor, even with the unfiltered setting enabled (and I am uploading .jpeg, .jpg, and .png.
This is my first time using ANY of WPEngine’s products and as cool as LocalWP looks, this error makes it entirely useless to me.
Also, it appears that there are multiple people who have been using local WP for a while who are having the issue.
@sambrockway Please coordinate with the WPEngine team and look into this soon! (From the comments you can see it’s clearly NOT an Elementor error, and NOT an OS error)
2 Days back, I switched to LOCAL. (Earlier I was using Xampp). I liked LOCAL due to its ease of use, until I got stuck with this same problem as described in the thread.
Tried all fixes,
Added permitted file types by changing WordPress Multisite settings.
Modified approved file types using a plugin.
Used the upload_mimes filter by editing my theme’s functions.php file.
Allowed unfiltered uploads in the wp-config.php file.
Manually uploaded the to the wp-content folder.
Enabled Unfiltered Uploads option in Elementor.
STILL NO USE. I get the same error “Sorry, This File Type Is Not Permitted for Security Reasons”
I am running LOCAL v8.3.1+6650 (with Apache, PHP 8.3, MySQL 8.0.16) on Win 11 Pro 23H2 (Build:22631.2861) x64 / 8GB / 1TB HDD
Now I have switched back to XAMPP and all works fine there. Please fix the issue.