[wp-trac] [WordPress Trac] #15927: wp_load_alloptions() causing fatal error

WordPress Trac wp-trac at lists.automattic.com
Mon Dec 20 22:34:53 UTC 2010


#15927: wp_load_alloptions() causing fatal error
--------------------------+-----------------------------
 Reporter:  pixelgeek     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  General       |    Version:  3.0.3
 Severity:  major         |   Keywords:
--------------------------+-----------------------------
 In  relation to some other timing issues I am running into on my server I
 have noticed that the wp_load_alloptions() function is causing fatal error
 at line 410 of functions.php on my server.

 $suppress = $wpdb->suppress_errors();

 The error reports that the code is trying to access a method of a non-
 object so I assume that $wpdb has been cleared from memory and that the
 wp_load_alloptions() function is trying to access it without checking to
 see if the variable exists and is an object.

 It appears to be related to the WP codebase. I did a string search through
 my installation, plugins and other pages and there is no reference to this
 function other than in sitemap-ui.php, formatting.php, functions.php and
 deprecated.php

 I am also running into an issue ticket #15881 that is similar.

 The error is causing the site to become unresponsive when it occurs.

-- 
Ticket URL: <http://core.trac.wordpress.org/ticket/15927>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list