wp_cache_get generates fatal error
|Reported by:||pixelgeek||Owned by:|
|Component:||Cache API||Keywords:||$wp_object_cache, wp_cache_get cache.php|
There are timing issues in WP where some code in plugins, specifically wp super cache, make called to wp_cache_get before $wp_object_cache is initiated.
This generates a fatal error in php and can often send apache crashing.
This only occurs n wp_cache_get() and it seems as if the easiest solution is to check to see if $wp_object_cache is actually initaited and/or an object before calling its get() function.