nystudio107 / craft-similar

Similar for Craft lets you find elements, Entries, Categories, Commerce Products, etc, that are similar, based on... other related elements.
https://nystudio107.com/
MIT License
26 stars 5 forks source link

"Serialization of 'Closure' is not allowed" when trying to cache query from Similar #2

Closed daltonrooney closed 6 years ago

daltonrooney commented 6 years ago

Not sure if you saw this: https://github.com/craftcms/cms/issues/2674

I am experiencing the same issue in the latest Craft 3. @aelvan did suggest that it should be fixed in Craft core, but since that may take a while I was wondering if you'd consider patching it in the plugin directly?

khalwat commented 6 years ago

Fixed in https://github.com/nystudio107/craft-similar/commit/3b87c79e60a8c964e5cd556813ae7cf3d818e85a