DrupalAPCCache::set() needs to have the same parameters used by DrupalCacheInterface::set(), but it has a parameter more, $headers, which will never be passed to DrupalAPCCache::set(). It was a parameter cache_set() had in Drupal 6, but it has been removed from Drupal 7.
DrupalAPCCache::set() also set $cache->headers with that parameter's value, but $cache->headers will not be used from Drupal core, nor from this module.

The $headers parameter must be removed from DrupalAPCCache::set(), which needs to stop setting $cache->headers.

Issue fork apc-3462724

Command icon Show commands

Start within a Git clone of the project using the version control instructions.

Or, if you do not have SSH keys set up on git.drupalcode.org:

Comments

avpaderno created an issue. See original summary.

avpaderno changed the visibility of the branch 3462724-remove-$headers-parameter to hidden.

avpaderno’s picture

Status: Active » Needs review

  • avpaderno committed 9f0ab2cf on 7.x-1.x
    Issue #3462724: DrupalAPCCache::set() expects a parameter Drupal will...
avpaderno’s picture

Status: Needs review » Fixed

Status: Fixed » Closed (fixed)

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