Error uploading the image
-
I’m testing this plugin on my site and it keeps returning ‘The file could not be uploaded’.
I debugged the code and it seems like ‘wp_attachment_is_image’ at line 858 (user-submitted-posts.php) is returning FALSE, even if what I upload is an actual image (JPG or PNG).
In fact, if I exit the code right after the ‘else’ block, I can see that the image was successfully uploaded and is attached to the post (as shown here https://i.imgur.com/oQ85pAK.jpg).
Any ideas on how to fix it? I can’t remove that condition for security reasons ??
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘Error uploading the image’ is closed to new replies.