• Skip to primary navigation
  • Skip to main content
  • Skip to primary sidebar
sharadchhetri

sharadchhetri

Tutorials On Linux, Unix & Open Source

  • Home
  • Linux Commands
  • Resources
    • Learn Linux
  • My WordPress plugins

WordPress error “Unable to create new image”

December 16, 2015 by Sharad Chhetri Leave a Comment

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

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.

Share this:

  • Twitter
  • Facebook
  • More
  • Print
  • Email
  • LinkedIn
  • Reddit
  • Tumblr
  • Pinterest
  • Pocket
  • Telegram
  • WhatsApp
  • Mastodon

Related posts:

  1. Error: Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9.0-release/Latest/
  2. Yum Error database disk image is malformed
  3. create iso image of directory in linux
  4. check_memory unable to read output Nagios nrpe
  5. PHP Warning: Unknown: Unable to allocate memory for pool. in Unknown on line 0
  6. Unable to complete install:’unsupported configuration hda-duplex not supported in this Qemu binary’
  7. fatal error: error writing to /tmp/ccwAjc9Z.s: No space left on device
  8. error: The requested URL returned error: 403 Forbidden while accessing Github repo
  9. dlopen(): error loading libfuse.so.2 – Got Error On Ubuntu
  10. How to create Ubuntu docker base image

Filed Under: Linux Tagged With: wordpress

Reader Interactions

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.

Primary Sidebar

Our Social Media Presence

  • Facebook
  • GitHub
  • Twitter

Linux Commands

yum : how to find rpm package which has certain command or file

semanage command not found on CentOS 7 and RHEL 7

Linux command to find modified and access date of file/dir/filesystem

Install libjpegtran by using yum command in CentOS 6.x

vi : Edit file without opening it

grep command to remove blank lines from file

Learn Linux Date Command With Examples

Explore 70+ Articles On Linux Commands

Always Useful Tips And Tricks

Non interactive ,without typing password do ssh to Server : By sshpass

How To Get SSH Public Key Fingerprint Information

How to change hostname in Ubuntu 12.04 and 12.10 without system restart

How to set JAVA environment variables in Linux or CentOS

How to change smtp port number 25 in postfix

df command not showing correct free space in linux

Forward all incoming emails to other SMTP server or gateway

Explore 90+ Article On "Linux Tips And Tricks"

You Might Like These Articles!

Internal External Command

What is Linux/Unix Internal And External Command

Linux basic command

Linux Basic Commands With Examples For Every Beginner

simplecodesyntax wordpress plugin

SimpleCodeSyntax : My Another WordPress Plugin

Install Nginx

How To Install Nginx On Ubuntu 22.04 LTS

Install Latest Git package in Ubuntu Operating System

How To Always Install Latest Git Package In Ubuntu Operating System

Bash script for installing VirtualBox on Ubuntu 22.04 LTS Desktop

Install VirtualBox On Ubuntu 22.04 LTS Desktop (Bash Script)

Copyright © 2023 ยท
The material in this site cannot be republished either online or offline, without our permission but Schools and Colleges can do in their Private Network
Proudly Blogging From Bharat.

  • Contact
  • About Me
  • My WordPress plugins
  • Privacy Policy