WordPress.org

Make WordPress Core

Opened 10 years ago

Closed 10 years ago

#15927 closed defect (bug) (duplicate)

wp_load_alloptions() causing fatal error

Reported by: pixelgeek Owned by:
Milestone: Priority: normal
Severity: major Version: 3.0.3
Component: General Keywords:
Focuses: Cc:

Description

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.

Change History (1)

#1 @nacin
10 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.