Bricks 1.5.6 & Happy Files 1.7

Bricks Version: 1.5.6
Browser: Firefox (But browser doesn’t matter)
OS: macOS Monterey
URL: (a link to a page that illustrates the issue would be really helpful)

I know this is not good, but the irony does not escape me either. It’s your plugin guys smiles.

There is a bug or incompatibility between Bricks 1.5.6 & Happy Files 1.7. No matter what the php resource settings on the server, if I have Happy files active, even though I have allowed them for me, I can not upload an svg file into the Media area.

If Happy Files is active I get this error:

“Cafe Logo small.svg The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels.”

The file is only 56kb and the file is saved from a 100 x 100 pixel image.

I can upload the file through cPanel fine and if I deactivate Happy Files, the upload is also successful.

I would really like to use these two products together and I use svg fiels often for things such as logos or other responsive use cases.

I am using Bricks with HappyFiles regularly and don’t have any problems uploading SVG files. Seems to be a specific problem with your local setup.

Bricks 1.5.6 & Happy Files 1.7?

Before Bricks 1.5.6 I didn’t have any issues either.

I can reproduce this issue on my VPS and on my MAMP Localhost consistently.

Same error: “The server cannot process the image. This can happen if the server is busy or does not have enough resources to complete the task. Uploading a smaller image may help. Suggested maximum size is 2560 pixels.”

I figured it out.

I use Adobe AI to create my svg Logos. If I use “Save As” to create the svg file, it will fail IF I use with Happy Files active. I even tried rolling back to HF 1.6.

If I use “Export As svg”, the file uploads as expected. If I use “Save As” the resulting svg is 56kb. If I use Export As svg the file size is 3kb. Something Adobe is putting in there with the svg file for use by AI. That’s a significant amount of “extra” indeed.

So it’s still HF in the mix but it seems my method to create the svg with Adobe AI exposes the issue.

Thank you Adobe.

One more thing that may be helpful in understanding this.

If in HF Settings I disable SVG “Sanitation” the file uploads.

This may have already been reported (though not with a lot of details) earlier here: Bricks 1.5.6. and Happyfiles 1.7 incompatibility - #4 by Tobias