Error when uploading images
-
Hi there,
I keep getting a general, “An error occurred in the upload. Please try again later.” error message when uploading new images. After refreshing the page the image appears but its still doesn’t feel right. Looking in my php_error.log file it is giving me the following error message.
PHP Notice: Undefined variable: …../wp-content/plugins/ewww-image-optimizer/common.php on line 1418
Which is the following
if ( $log ) { ewww_image_optimizer_debug_log(); }
When this is commented out it works fine. I have been building a theme using the jointswp foundation 5 boilerplate theme and have done the usual, deactivate everything and go from there and still experience the issue when only eww is activated.
I get an “All Clear” plugin status in the settings with the following details
If updated versions are available below, you may need to enable write permission on the /Applications/MAMP/htdocs/heathcote/wp-content/ewww/ folder to use the automatic installs.
*Updates are optional, but may contain increased optimization or security patchesjpegtran: Installed?version: Independent JPEG Group’s JPEGTRAN, version 9a 19-Jan-2014
optipng: Installed?version: OptiPNG version 0.7.5
gifsicle: Installed?version: LCDF Gifsicle 1.84
safe mode: Off??exec(): Enabled??
Graphics libraries – only need one, used for conversion, not optimization
GD: Installed??Imagemagick ‘convert’: Missing
Only need one of these:
finfo: Installed??getimagesize(): Installed??mime_content_type(): InstalledAny ideas?
Keep up the great work and thanks for such an awesome plugin.
- The topic ‘Error when uploading images’ is closed to new replies.