[Plugin: w3 total cache] Error with object_cache while using disk
-
We are having troubles retrieving an object with get_option() when object_cache is activated and the disk is used. We get this error
Ai1ec_Settings::get_instance(): The script tried to execute a method or access a property of an incomplete object. Please ensure that the class definition “Ai1ec_Settings” of the object you are trying to operate on was loaded _before_ unserialize() gets called or provide a __autoload() function to load the class definition
The error happens just after we save the option to the db and the ObjectCache Class retrieves it from disk. We have no problem when the opcode cache is used, maybe there are problems in the serialization of the object or there are some limitations, we are storing an instance of a singleton.
If i add “options” to the back-end where you specify the groups not to persist the problem is not present.
- The topic ‘[Plugin: w3 total cache] Error with object_cache while using disk’ is closed to new replies.