wp_load_alloptions() causing fatal error
|Reported by:||pixelgeek||Owned by:|
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.