Cannot upload images in WordPress – File is empty error

By |2018-08-30T15:05:09+00:00May 9th, 2017|Categories: Knowledge-base, Support|Tags: , , |

Holy cow. Want to talk about a difficult error to diagnose and correct! When you can upload teenie tiny images, but anything larger than even 30k throws an error in WordPress, you just about want to pull your hair out. The error we’re talking about is this: File is empty. Please upload something more substantial. This error could also be caused by uploads being disabled in your php.ini or by post_max_size being defined as smaller than upload_max_filesize in php.ini The hardest part about correcting this error? That the very suggestions it makes within the error message itself to correct it, don’t work. And there are years and years of threads all over the web that talk about this problem, none with solutions. We eventually solved this problem when it manifested on a long time client’s site (their site was from 2010!) by doing a fresh installation of WordPress. Once we did that and connected up the database and content files, it worked. This was after days and days of struggling to figure out what the heck was going on and thinking it was a server-side issue. After all, that’s what the error says – update your server files!  […]