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.
The system module has a watchdog call which is not using the proper constant for a WATCHDOG_ERROR. This causes PHP warnings as the error level used is a string and syslog expects an integer.
Original line:
watchdog('file system', 'Could not delete temporary file "%path" during garbage collection', array('%path' => $file->filepath), 'error');
Should be:
watchdog('file system', 'Could not delete temporary file "%path" during garbage collection', array('%path' => $file->filepath), WATCHDOG_ERROR);
Comment | File | Size | Author |
---|---|---|---|
#1 | system-watchdog-error-1287234-1.patch | 704 bytes | johnennew |
Comments
Comment #1
johnennew CreditAttribution: johnennew commentedHere is a patch