An error appears when we try to upload images on user activity


When we try to upload an image/file on the user activity page we get an error. The error detail is: /wp-content/uploads/bpfb/tmp/undefined 404 (Not Found)

This has been solved by turning the mod security on the server off, but we need this on for security reasons.

Any ideas?