Unlike the rest of the cache types, 'apcu_q' does not first test that the extension is loaded and that the functions exist.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

dalin created an issue. See original summary.

dalin’s picture

Assigned: dalin » Unassigned
Status: Active » Needs review
FileSize
672 bytes
whikloj’s picture

Just ran into this issue, when I choose APCu by accident. +1 for this fix.

jsst’s picture

This 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.

ckng’s picture

Patch #2 works for me.

donquixote’s picture

This looks like a mistake I made in commit 924180af.
Fix is on the way! Almost 1:1 the patch from #2.

  • donquixote committed f69002b on 7.x-5.x authored by dalin
    Issue #2693315 by dalin: "Call to undefined function apcu_fetch() in...
donquixote’s picture

Status: Needs review » Fixed

Fixed in 7.x-5.7

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.