Plugin fails under certain circumstances
-
The plugin fails in case an object whose class definition is not present is being fed to ‘get_transient_value’ which is using ‘is_object’ to detect objects that are not arrays.
To fix this one need to apply the following patch:
==========================================================
@@ -357,7 +357,7 @@$value = ‘array’;
– } elseif( is_object( $value ) ) {
+ } elseif( gettype( $value ) == ‘object’ ) {$value = ‘object’;
==========================================================Thanks for the plugin. It’s a nice piece of work.
Viewing 3 replies - 1 through 3 (of 3 total)
Viewing 3 replies - 1 through 3 (of 3 total)
- The topic ‘Plugin fails under certain circumstances’ is closed to new replies.