- Issue created by @viswanathsai
- Status changed to Needs work
about 1 year ago 2:55pm 7 November 2023 - 🇺🇸United States kevinquillen
To fix this, the following needs to happen:
- The SearchAPITypesenseBackend class needs to use the
DependencySerializationTrait
, and override its _sleep method:/** * Prevents the Typesense connector from being serialized. */ public function __sleep() { $properties = array_flip(parent::__sleep()); unset($properties['typesense']); return array_keys($properties); }
- 🇫🇷France bedlam Lyon
Thanks for the report and the code. I'll have a look.
- Status changed to Fixed
9 months ago 7:56am 27 March 2024 - 🇮🇹Italy lussoluca Italy
SearchAPITypesenseBackend class has been heavily rewritten; this error no longer occurs in my tests.
Feel free to reopen the issue if you still have problems.
Automatically closed - issue fixed for 2 weeks with no activity.