[wp-trac] [WordPress Trac] #15881: wp_cache_get generates fatal error
WordPress Trac
wp-trac at lists.automattic.com
Sat Dec 18 19:53:01 UTC 2010
#15881: wp_cache_get generates fatal error
-------------------------+-------------------------------------------------
Reporter: pixelgeek | Owner:
Type: defect | Status: new
(bug) | Milestone: Awaiting Review
Priority: normal | Version: 3.0.3
Component: Cache | Keywords: $wp_object_cache, wp_cache_get
Severity: critical | 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.
--
Ticket URL: <http://core.trac.wordpress.org/ticket/15881>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list