Wordpress error

After uploading the image, we tried to crop the image but we found this wordpress error “Unable to create new image”. We are running this blog on Nginx,PHP-FPM and WordPress. We were aware that it is related to php5-gd module as we already experienced this issue in other case also.

Here is below given screenshot of error –

Unable to create new image

Solution For WordPress error “Unable to create new image”

Install php5-gd module by using following command.

sudo apt-get install php5-gd

Now restart the php5-fpm and nginx.

sudo service php5-fpm restart ; service nginx restart

Now try again, the error must be resolved and you should be able to crop/scale the images.

Read Some More Articles

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.