WordPress.org

Make WordPress Core

Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#4308 closed defect (bug) (fixed)

Call to undefined function is_wp_error() when there's no wp-config.php at install

Reported by: jottlieb Owned by: rob1n
Milestone: 2.2.1 Priority: normal
Severity: normal Version: 2.2
Component: General Keywords: is_wp_error is_wp_error() install wp-config.php
Focuses: Cc:
PR Number:

Description

If you try to start to install WP without having a wp-config.php and execute /wp-admin/install.php (!), it appears just the following error:

Fatal error: Call to undefined function is_wp_error() in path\wp-includes\functions.php on line 1320

Change History (4)

#1 @rob1n
13 years ago

  • Owner changed from anonymous to rob1n
  • Status changed from new to assigned

#2 @rob1n
13 years ago

  • Resolution set to fixed
  • Status changed from assigned to closed

(In [5507]) Don't call is_wp_error() in wp_die() if it hasn't been defined yet. fixes #4308

#3 @ryan
13 years ago

wp-blog-header.php includes classes.php, functions.php, plugin.php before issuing wp_die(). This shouldn't be necessary.

#4 @ryan
13 years ago

My reading comprehension ain't so good. This is for install.php, which doesn't do the includes. Nevermind. :-)

Note: See TracTickets for help on using tickets.