wp-media / imagify-plugin

Speed up your website with lighter images without losing quality.
https://imagify.io
69 stars 24 forks source link

Error is displayed when click 'Generate Missing Next-Gen Images Versions' while no optimization is selected #789

Closed Mai-Saad closed 3 months ago

Mai-Saad commented 4 months ago

Before submitting an issue please check that you’ve completed the following steps:

Describe the bug Error is displayed when clicking 'Generate Missing Next-Gen Images Versions'

To Reproduce Steps to reproduce the behavior:

  1. Fresh activation of Imagify
  2. Click on 'Generate Missing Next-Gen Images Versions'

Expected behavior WebP versions are generated while AVIF is not checked

Screenshots Screenshot from 2024-02-02 08-22-27

Additional context Add any other context about the problem here.

Acceptance Criteria (for WP Media team use only) Clear instructions for developers, to be added before the grooming

Mai-Saad commented 4 months ago

While AVIF is enabled can see this Screenshot from 2024-02-05 12-17-33

Mai-Saad commented 3 months ago

This error is there either AVIF enabled/disabled. @Tabrisrp can you please check? (tested on https://imagify.rocketlabsqa.ovh/) Screenshot from 2024-02-23 04-31-11

Note: when used clean local env, couldn't see the btn at all (even while having some images with the generate link in media library). Are you able to see it on clean local env? how?

Tabrisrp commented 3 months ago

I updated the minified JS on the main branch, which was likely the issue here.

Mai-Saad commented 3 months ago

No error now. note: on new clean sites, it's very hard to see the generate btn now in settings page