Question.
When using the crop image feature in WordPress, an error occurs: “An error occurred while cropping your image” or “There has been an error cropping your image. ”
Cause.
Missing PHP GD library
Ubuntu run:
sudo apt-get install php5-gd
or
sudo apt-get install php7.0-gd
CentOS run:
yum install php-gd
Restart Apache or Nginx after installation
Similar Posts:
- WordPress card in WP admin / setup- config.php It’s a blank
- The state of nginx is the failed solution
- nfs load errorwrong fs type, bad option, bad superblock
- [Solved] Android Studio ON Linux An error occurred while creating the AVD. See idea.log for details,
- Failed building wheel for dlib [How to Solve]
- /usr/bin/ld: cannot find -lz
- Compilation of SSE/AVX/FMA instruction set in tensorflow CPU environment
- [Solved] Nginx Restart Error: nginx: [error] open() “/usr/local/nginx/logs/nginx.pid” failed (2: No such file or directory)
- Linux Error: _mysql.c:32:20: fatal error: Python.h: No such file or directory [Solved]
- Temporary failure in name resolution solution when Ubuntu installs essential (GCC)