Wp die causing 500 Internal Server Error?
I have function to upload images inside my settings API ,it uploads images as expected but the problem comes when user chooses to upload non-image file to stop users from uploading other files (non-image files) i am using wp_die(‘No image found’); an that leads to dreaded 500 Internal Server Error message displayed. Strange thing is … Read more