Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Hi,
found two syntax errors in imageapi_optimize.module
Line 283
$error .= t('File !file doesn\'t exist.', array('!file' => $file)) . '<br />'; //-->> Undefined variable file
should be
$error .= t('File !file doesn\'t exist.', array('!file' => $data['file'])) . '<br />';
Line 288
watchdog('imageapi_optimize', $errors); //-->> Undefined variable errors
should be
watchdog('imageapi_optimize', $error);
thanks
Comments
Comment #2
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedThanks so much, let's get these fixed.