Ticket #4308 (closed defect: fixed)

Opened 1 year ago

Last modified 1 year ago

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

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

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

05/21/07 19:36:08 changed by rob1n

  • owner changed from anonymous to rob1n.
  • status changed from new to assigned.

05/21/07 22:50:33 changed by rob1n

  • status changed from assigned to closed.
  • resolution set to fixed.

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

05/21/07 23:28:28 changed by ryan

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

05/21/07 23:30:30 changed by ryan

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