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.
It'd be useful for debugging if _registry_check_code()
watchdogged when an autoload miss occurs. WATCHDOG_NOTICE seems like the appropriate level, since autoload is triggered as part of user-controlled class/interface checking logic (e.g., is_subclass_of()
, instanceof
etc.) and a miss therefore does not necessarily indicate a critical error.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1091154-watchdog-autoload-misses-1-D8.patch | 814 bytes | sdboyer |
Comments
Comment #1
sdboyer CreditAttribution: sdboyer commentedPatch is attached.
Would be really great if we could backport this to 7.x, too. This piece of information has turned out to be important to debugging a particular problem on d.o, and I expect could be useful to other big sites, too. otoh, webchick mentioned that that violates string freeze when I chatted her up about it.
Comment #2
dawehnerRIP registry.