-
Bug
-
Resolution: Fixed
-
Major
-
4.0
-
MOODLE_400_STABLE
-
MOODLE_400_STABLE
-
MDL-74285-master -
After testing MDL-74072 I went to clean up my testing site and delete the newly created Redis cache instance, but because the cache is not used before deleting it, I get the following:
Exception - Call to a member function get_ttl() on null
|
Stacktrace below:
Stack trace:
|
line 457 of /cache/stores/redis/lib.php: Error thrown
|
line 471 of /cache/stores/redis/lib.php: call to cachestore_redis->purge()
|
line 393 of /cache/locallib.php: call to cachestore_redis->instance_deleted()
|
line 540 of /cache/classes/local/administration_display_helper.php: call to cache_config_writer->delete_store_instance()
|
line 387 of /cache/classes/local/administration_display_helper.php: call to core_cache\local\administration_display_helper->action_deletestore()
|
line 53 of /cache/admin.php: call to core_cache\local\administration_display_helper->perform_cache_actions()
|