Nothing seems to optimize, debug log shows “metadata is missing, requeueing”
-
I have the plugin installed, I’ve copied the binaries to wp-content/ewww and made sure they are 755. I can run –help on the binaries and they work.
I’ve enabled PNG to JPEG.
The following is what I noticed:
1) When I go to the media library and upload a PNG, it doesn’t get converted
2) When I upload a JPEG, it doesn’t seem to get any optimization at all.Here’s what the debug log says:
=======================================================
EWWW IO version: 302.0
WP version: 4.5.2
PHP version: 50310
<b>ewww_image_optimizer_gallery_support()</b>
<b>ewww_image_optimizer_admin_init()</b>
<b>ewww_image_optimizer_cloud_init()</b>
<b>ewww_image_optimizer_upgrade()</b>
<b>ewww_image_optimizer_exec_init()</b>
<b>ewww_image_optimizer_cron_setup()</b>
<b>ewww_image_optimizer_handle_upload()</b>
<b>ewww_image_optimizer_add_attachment()</b>
<b>ewww_image_optimizer_image_sizes_advanced()</b>
<b>ewww_image_optimizer_image_sizes()</b>
<b>ewww_image_optimizer_jpg_quality()</b>
<b>ewww_image_optimizer_restore_editor_hooks()</b>
<b>ewww_image_optimizer_resize_from_meta_data()</b>
attachment id: 303542
this is a newly uploaded image with no metadata yet
<b>ewww_image_optimizer_attachment_path()</b>
WP (filtered) thinks the file is at: /www/website/public_html/wp-content/uploads/2016/10/89683414308_0_ALB.jpg
retrieved file path: /www/website/public_html/wp-content/uploads/2016/10/89683414308_0_ALB.jpg
<b>ewww_image_optimizer_mimetype()</b>
testing mimetype: /www/website/public_html/wp-content/uploads/2016/10/89683414308_0_ALB.jpg
finfo_file: image/jpeg
<b>ewww_image_optimizer_resize_upload()</b>
resizing image from media library or attached to post
backgrounding optimization for 303542
<b>ewww_image_optimizer_debug_log()</b>
16-10-15 01:08:23.000000
background processing 303540, type: image/jpeg
metadata is missing, requeueing 3=======================================================
What’s interesting is that in the Plugin Status it never shows that optipng, jpegtran and gifsicle are enabled. see here:
Yet the debug log finds and says they are enabled:
========================================================
Checking/Installing tools in /www/website/public_html/wp-content/ewww/
wp-content/ewww permissions: 0775
ewww_image_optimizer_install_paths()
CPU architecture: amd64
generated paths:
/www/website/public_html/wp-content/plugins/ewww-image-optimizer/binaries/jpegtran-fbsd
/www/website/public_html/wp-content/plugins/ewww-image-optimizer/binaries/optipng-fbsd
/www/website/public_html/wp-content/plugins/ewww-image-optimizer/binaries/gifsicle-fbsd
/www/website/public_html/wp-content/plugins/ewww-image-optimizer/binaries/pngquant-fbsd
/www/website/public_html/wp-content/plugins/ewww-image-optimizer/binaries/cwebp-fbsd
/www/website/public_html/wp-content/ewww/jpegtran
/www/website/public_html/wp-content/ewww/optipng
/www/website/public_html/wp-content/ewww/gifsicle
/www/website/public_html/wp-content/ewww/pngquant
/www/website/public_html/wp-content/ewww/cwebp
ewww_image_optimizer_skip_tools()
enabled: jpegtran
enabled: optipng
enabled: gifsicle
=========================================================Am I doing something wrong?
- The topic ‘Nothing seems to optimize, debug log shows “metadata is missing, requeueing”’ is closed to new replies.