[wp-trac] [WordPress Trac] #15881: wp_cache_get generates fatal error

WordPress Trac wp-trac at lists.automattic.com
Sat Dec 18 21:13:12 UTC 2010


#15881: wp_cache_get generates fatal error
-------------------------------------------------+-------------------------
 Reporter:  pixelgeek                            |       Owner:
     Type:  defect (bug)                         |      Status:  new
 Priority:  normal                               |   Milestone:  Awaiting
Component:  Cache                                |  Review
 Severity:  critical                             |     Version:  3.0.3
 Keywords:  $wp_object_cache, wp_cache_get       |  Resolution:
  cache.php                                      |
-------------------------------------------------+-------------------------

Comment (by pixelgeek):

 But even if WP Super Cache fixes their usage it still is possible for
 other plugins and coders to run into the same issue.

 Maybe a straight test isn't necessarily the way to fix it (I'll admit that
 my php skills aren't good enough to be commenting in any depth) but I
 think that there needs to be some way to avoid having the caching code
 access the object if there is the possibility that it won't be there.

 Especially when we're dealing with something as screwy as timing issues.
 As Donncha notes this doesn't happen consistently across platforms or php
 instances so it might not even be something that a dev might see on their
 own system and yet have it crop up on other sites.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15881#comment:6>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list