chesio / bc-cache

Simple full page cache plugin for WordPress inspired by Cachify
The Unlicense
9 stars 0 forks source link

Avoid storing instances of custom classes as transients #90

Closed chesio closed 1 year ago

chesio commented 1 year ago

Serialized instances of custom classes cause issues when running commands such as wp search-replace:

Warning: Skipping an uninitialized class "BlueChip\Cache\WarmUpQueue", replacements might not be complete.
chesio commented 1 year ago

I failed to reproduce the issue reliably. Anyway, 8ea8493 makes serialization more future-proof.