Destructor conflict with SQLite Object Cache
-
Hello, I’m the author of SQLite Object Cache. A mutual user has reported this defect to me. https://github.com/OllieJones/sqlite-object-cache/issues/119
SQLite Object Cache needs to use __destruct() to both keep its SQLite session open as long as possible, and to avoid a session leak.
And your Loco Translate relies on __destruct() to use set_transient to persist an instance of your
Loco_gettext_Metadataclass. But php calls my __destruct() before yours. There’s more detail in the github ticket linked above.Is it possible for you to persist your data from a shutdown handler rather than relying on the destructor? Thanks.
You must be logged in to reply to this topic.