I have updated my xampp server to latest php version 8.1. Everything in the application is working fine. I am able to upload all types of file formats including pdf, tiff, mp3, xls, doc, pptx, etc. to my upload fields in the application. The only file format which i am not able to upload is “jpg”, “png” files. I am getting an error message “An error occurred while uploading the file. Please contact the administrator.”
If same file is tried uploading through production environment than it is working fine. I am not able to figure out the issue. Any one facing the same issue & have found the solution for it. Please reply