Make WordPress Core

Opened 20 years ago

Closed 20 years ago

#4042 closed defect (bug) (fixed)

No Configuration details in wp-config throws error

Reported by: technosailor Owned by: technosailor
Priority: low Milestone: 2.2
Component: Administration Version:
Severity: normal Keywords: wp-config, php error
Cc: Focuses:

Description

In r5126, when a vanilla install of WP is setup and no db settings set in wp-config.php, this error is thrown:

Notice: Trying to get property of non-object in /Users/aaron/Sites/trunk/wp-includes/functions.php on line 1350

Patch attached.

Attachments (1)

no-config-php-error.diff​ (739 bytes ) - added by technosailor 20 years ago.
Checks to ensure $wp_locale is set before running property conditional

Download all attachments as: .zip

Change History (2)

@technosailor
20 years ago

Checks to ensure $wp_locale is set before running property conditional

#1 @ryan
20 years ago

  • Resolution → fixed
  • Status new → closed

(In [5129]) Avoid non-object error when wp_die()ing before is instantiated. Props technosailor. fixes #4042

Note: See TracTickets for help on using tickets.