Opened 12 years ago
Closed 12 years ago
#28744 closed defect (bug) (fixed)
setup-config.php Fatal error: Cannot redeclare add_filter()
| Reported by: |
|
Owned by: |
|
|---|---|---|---|
| Milestone: | 4.0 | Priority: | normal |
| Severity: | normal | Version: | 4.0 |
| Component: | Upgrade/Install | Keywords: | |
| Focuses: | administration | Cc: |
Description
Without wp-config.php I get
Fatal error: Cannot redeclare add_filter() (previously declared in /Volumes/data/Sites/wp_git/wp-includes/plugin.php:82) in /Volumes/data/Sites/wp_git/wp-includes/plugin.php on line 89
Attachments (1)
Change History (5)
#2
@
12 years ago
- Component changed from General to Upgrade/Install
- Milestone changed from Awaiting Review to 4.0
Confirmed. See [28978].
With setup-config.patch, wp_load_translations_early() never fires, it's added too late.
I guess we need to change require() to require_once() in wp-settings.php.
Note: See
TracTickets for help on using
tickets.
Issue is in wp-settings.php on line 75 there's only
require. It conflicts with wp-admin/setup-config.php:33