WordPress.org

Make WordPress Core

Opened 6 years ago

Last modified 5 years ago

#11881 closed defect (bug)

setup-config.php step 2 broken — at Initial Version

Reported by: sivel Owned by:
Milestone: 3.0 Priority: normal
Severity: major Version: 3.0
Component: Upgrade/Install Keywords: has-patch
Focuses: multisite Cc:

Description

setup-config.php step 2 is broken now that wp-db.php calls is_multisite(). In addition it also causes a notice.

Notice: Use of undefined constant WP_DEBUG - assumed 'WP_DEBUG' in /var/www/trunk/wp-includes/wp-db.php on line 370

Fatal error: Call to undefined function is_multisite() in /var/www/trunk/wp-includes/wp-db.php on line 373

Because setup-config.php uses wp-db.php without first including wp-settings.php which is where WP_DEBUG and is_multisite are defined it causes a notice and a fatal error.

Change History (0)

Note: See TracTickets for help on using tickets.