Opened 12 years ago
Closed 12 years ago
#28744 closed defect (bug) (fixed)
setup-config.php Fatal error: Cannot redeclare add_filter()
| Reported by: | michalzuber | Owned by: | nacin |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.0 |
| Component: | Upgrade/Install | Version: | 4.0 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: | administration |
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 General → Upgrade/Install
- Milestone Awaiting Review → 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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Issue is in wp-settings.php on line 75 there's only
require. It conflicts with wp-admin/setup-config.php:33