[error] Error: Call to a member function getKeyValue() on null in Drupal\section_purge\Plugin\Purge\Purger\SectionPurgeBase->getOptions() (line 202 of /app/docroot/modules/contrib/section_purge/src/Plugin/Purge/Purger/SectionPurgeBase.php) #0 /app/docroot/modules/contrib/section_purge/src/Plugin/Purge/Purger/SectionBundledPurge.php(81): Drupal\section_purge\Plugin\Purge\Purger\SectionPurgeBase->getOptions()
run `drush cron`
hey everyone, the \Drupal::service('key.repository')
call is capable of returning three types of values: EntityInterface, Key, or null. However, the current implementation lacks a mechanism to handle the null return value. This could potentially lead to failures in cron jobs.
Closed: won't fix
4.0
Code