Event ECA Cron Event getting error "function get() on null"
Problem/Motivation
Error: Call to a member function get() on null in Drupal\Core\Cache\CacheCollector->lazyLoadCache() (line 352 of /home/user/public_html/web/core/lib/Drupal/Core/Cache/CacheCollector.php).
Steps to reproduce
1. Add new model
2. Add event "ECA cron event"
3. Save, will getting "Oops error"
4. Go to Recent log messages, and getting the above error
Additional note: I am using Drupal ver 10.3.1 and PHP 8.1
Proposed resolution
Remaining tasks
User interface changes
API changes
Data model changes
Edited by drupalbot