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.
Unlike the rest of the cache types, 'apcu_q' does not first test that the extension is loaded and that the functions exist.
Comment | File | Size | Author |
---|---|---|---|
#2 | 2693315-xautoload-undefined-function-apcu-fetch.patch | 672 bytes | dalin |
Comments
Comment #2
dalinComment #3
whiklojJust ran into this issue, when I choose APCu by accident. +1 for this fix.
Comment #4
jsst CreditAttribution: jsst at Ibuildings commentedThis behaviour is especially vicious because right below the checkboxes, it states:
* X Autoload will pick the first cache mode that is available and enabled.
* It is usually safe to enable all these checkboxes, so xautoload can always use the best cache mode available on your system.
If for whatever reason this safe behaviour cannot be guaranteed in the next version of xautoload, these texts should warn the user.
Comment #5
ckngPatch #2 works for me.
Comment #6
donquixote CreditAttribution: donquixote as a volunteer commentedThis looks like a mistake I made in commit 924180af.
Fix is on the way! Almost 1:1 the patch from #2.
Comment #8
donquixote CreditAttribution: donquixote as a volunteer commentedFixed in 7.x-5.7