I deactivated the "SVG Support" Plug-in and am now getting this message.
[field_name] is invalid
By default, WordPress does not allow svg uploads and requires several mods to allow them. That's why there are svg support plugins. There could be any number of other reasons that could be blocking svgs from uploading. Trying to troubleshoot the issue and offer you a solution with the level of detail presented here is nearly impossible because there needs to be a lot more data accumulated to determine root cause. This is not the right forum for that level of diagnostics. You need to work with your web host support team, Formidable Support, or hire a developer to help you out.
I did a text search for the term "Security check failed". That phrase is found in the .svg support plugin. It hs nothing to do with Formidable. You'll need to ask the svg support plugin developer what's going on.
Again, your answer only came through email. Here's what you said:
Thank you Victor for responding to this:I disable "SVG Support" Plugin. Then it briefly worked.However now .svg files is not on the list of allowed file types.If I try and "Alow al file types" and upload a .svg file, I get the message[field_name] is invalid.See the attached screen shots."
You have to understand that WordPress does not support .svg files because of their inherent security risks. You must use a plugin that supports svg files or modify the mime types and permissions yourself through custom code. Allowing all types in the Formidable field does not override WordPress security or allowed mime types. It only enables uploads on the front end through the jQuery checks.
As a WordPress add-on, Formidable can only do what WordPress permits. The error message you are receiving has nothing to do with Formidable because it's coming from code inside the SVG Support plugin. In fact, it's coming from line 355 in plugins/svg-support/functions/attachment.php. The actual code block is checking for a WordPress nonce that is not being created.
This issue is beyond the scope of a community volunteer forum. Open a ticket with Strategy 11 support and let them help you get this sorted. You may also need to raise the issue in the SVG Support plugin forum on WordPress.org.
You may also need to get your web host involved to modify the mime types allowed by your web server.
OK. Thanks. There are several plugins that allow the use of SVG files. Do does anyone know of one that is compatible with Formidable forms?
I use the one you're having trouble with. Never had a problem with it in multiple environments.
Please login or Register to submit your answer
I am able to able to load .svg file into my media library. I am using the plug-in "SVG Support" to accept .svg files.