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.
Hello
inside hook_file_presave (imageapi_optimize_file_presave) there is this code:
var_export($file); exit;
Which causes every file upload, import or anything related to saving files to die and output an export of the file, this render this module unfit for prod environments.
This hook should be removed from code.
Comment | File | Size | Author |
---|---|---|---|
image_optimize.module.patch | 558 bytes | BryanRice | |
Comments
Comment #2
Steven Jones CreditAttribution: Steven Jones at ComputerMinds commentedI can't see that hook implemented here:
http://cgit.drupalcode.org/imageapi_optimize/tree/imageapi_optimize.module
Maybe someone had added that to your codebase?