WordPress media uploads recently troubled us a lot, as the majority of our clients’ projects are powered by WordPress. We see to it that all the WordPress installs we manage are up to date. Over the past few days, we faced issues with the WordPress websites hosted on GoDaddy servers. We were unable to upload images to the media library, and it would end with “HTTP Error”. We decided to get in touch with GoDaddy support and get some help. They tried their best to help us with the solution and said all things are good on the server end. We landed on one WordPress trace ticket where people have reported issues with the media library. We tried the workaround suggested in that thread, which is as follows to fix the issue :
By default, WordPress uses “Imagick” for image manipulation, switching to GD helped us to fix the issues. Add the below code snippet to functions.php, and it will set “GD” as the default image manipulation library.
[wpgist id=”8dc968042b0c2269da017f2aad8a6ed6″]
Hope this help someone and saves their time 🙂

Leave a Reply