Support » Plugin: EWWW Image Optimizer » Notice: Undefined variable: pngquant…

  • Resolved Steve Grunwell


    I just upgraded to version 1.8.4 this morning on a client site (WordPress 3.8.1) this morning with WP_DEBUG enabled and received the following PHP notice:

    Notice: Undefined variable: pngquant in /path/to/my/site/wp-content/plugins/ewww-image-optimizer/ewww-image-optimizer.php on line 624

    It looks like when you’re initializing variables at the top of ewww_image_optimizer_path_check() the $pngquant variable isn’t getting the same love as the others. Dropping in $pngquant = false; with the others resolves the issue.

    Great plugin, by the way.

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Notice: Undefined variable: pngquant…’ is closed to new replies.