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 authcache_bultin.module triggers the authcache_enum_keys function inside the authcache_builtin_expire_cache function
if you do not have the authcache_enum enabled this leads in to the undefined function error.
I think we should either make the authcache_enum a dependency on authcache_bultin or check for a module_excists wrapper in the expire_cache function.
I'am willing to make a patch for both options.
Comments
Comment #1
znerol CreditAttribution: znerol commentedThanks for the report. I'm wondering under which circumstances you got this error. Authcache Builtin should disable its
hook_expire_cache
from withinhook_module_implements_alter
when Authcache Enum is not around. Anyway, I committed a fix and also added documentation as well as a new check inhook_requirements
.Commit: 19951d4
Comment #2.0
(not verified) CreditAttribution: commentedwrong function name in description