Skip to content

Commit 50221a0

Browse files
committed
Issue #456 // Updated migration guide from v5 to v6
1 parent 8a77cd0 commit 50221a0

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

docs/migration/MigratingFromV5ToV6.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
Because the V6 is not backward compatible with the V5, here's a guide to help you to migrate your code:
22

3+
### Existing data in cache during migration
4+
:anger: :exclamation: If you update PhpFastCache from v5 to v6 you need to clear up the whole cache otherwise you may get this kind of error:
5+
```
6+
Notice: Undefined index: e in /phpfastcache/src/phpFastCache/Core/Pool/DriverBaseTrait.php on line ...
7+
8+
Fatal error: Uncaught phpFastCache\Exceptions\phpFastCacheInvalidArgumentException: $expiration must be an object implementing the DateTimeInterface in ...
9+
```
310

411
### Type hint of Driver instances
512

0 commit comments

Comments
 (0)