Here is a quick solution to Bluehost – WordPress problem on uploading images due to an error. Solve “File is empty. Please upload something more substantial” error. While some of my friends asked my how to solve this error, my first hunch is about their php.ini file, as maybe they are trying to upload an image with large file size. But when they argue that they haven’t experience that error before and the file size of the image is only less than 200 KB, then that led me thinking that it is connected to their master php.ini file. Read on below on how we have solve this problem.
- Worpress giving error when uploading file, stating “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.“.
- WordPress categories not saving when saving the article, keeps on selecting the default category.
Solution: (Note that the hosting provided here is Bluehost, although this guide could also work with outer hosting provider.)
1. Login to your Bluehost CPanel account.
2. From the Software/Service Tab, select PHP Config.
3. Select PHP 5.2 (Single php.ini)
4. Check the extensions that you are using. (recommended to check IonCube and SourceGuardian)
5. Click on save changes.
Problem solved. Test your WordPress again and check to see if this quick solution worked for you. Note that you can edit your php.ini file and adjust the upload_max_filesize if you are trying to upload files with large sizes. Hope this simple tutorial guide regarding Bluehost, WordPress failed to upload due to an error helped you.