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.
QueuerService.php:84-90
// Override the mapping with information stored in CMI, then filter out
// everything that isn't enabled and finally flip the array with just ids.
foreach ($this->configFactory->get('purge.plugins')->get('queuers') as $inst) {
if (isset($this->plugins_enabled[$inst['plugin_id']])) {
$this->plugins_enabled[$inst['plugin_id']] = $inst['status'];
}
}
This produces a warning on site install: "Invalid argument supplied for foreach() QueuersService.php:86"
Should be updated to something like this:
// Override the mapping with information stored in CMI, then filter out
// everything that isn't enabled and finally flip the array with just ids.
$queuers = $this->configFactory->get('purge.plugins')->get('queuers');
if ($queuers) {
foreach ($queuers as $inst) {
if (isset($this->plugins_enabled[$inst['plugin_id']])) {
$this->plugins_enabled[$inst['plugin_id']] = $inst['status'];
}
}
}
Comments
Comment #2
lahoosascoots CreditAttribution: lahoosascoots commentedComment #3
lahoosascoots CreditAttribution: lahoosascoots commentedComment #4
arknoll CreditAttribution: arknoll commentedTested and works. Thank you!
Comment #5
nielsvm CreditAttribution: nielsvm as a volunteer and at Acquia commentedreviewing+testing
Comment #6
nielsvm CreditAttribution: nielsvm as a volunteer and at Acquia commentedComment #8
nielsvm CreditAttribution: nielsvm as a volunteer and at Acquia commentedThanks guys, brace for
8.x-3.0-beta5
!