Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitbc16a9a

Browse files
authored
bug#60121[Cache] ArrayAdapter serialization exception clean $expiries
1 parent7a24bdc commitbc16a9a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎src/Symfony/Component/Cache/Adapter/ArrayAdapter.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -338,7 +338,7 @@ private function freeze($value, string $key): string|int|float|bool|array|\UnitE
338338
try {
339339
$serialized =serialize($value);
340340
}catch (\Exception$e) {
341-
unset($this->values[$key],$this->tags[$key]);
341+
unset($this->values[$key],$this->expiries[$key],$this->tags[$key]);
342342
$type =get_debug_type($value);
343343
$message =\sprintf('Failed to save key "{key}" of type %s: %s',$type,$e->getMessage());
344344
CacheItem::log($this->logger,$message, ['key' =>$key,'exception' =>$e,'cache-adapter' =>get_debug_type($this)]);

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp