Opened 17 years ago
Closed 17 years ago
#11681 closed defect (bug) (fixed)
Erratic Behavior When wp-includes/pomo Missing
| Reported by: | miqrogroove | Owned by: | westi |
|---|---|---|---|
| Priority: | normal | Milestone: | 3.0 |
| Component: | I18N | Version: | 2.8 |
| Severity: | normal | Keywords: | commit |
| Cc: | Focuses: |
Description
WordPress throws
Fatal error: Class 'NOOP_Translations' not found in /wp-includes/l10n.php on line 437
I believe this is caused by erroneous use of "include_once" in wp-settings.php, where "require_once" was intended.
See it in the wild at http://wordpress.org/support/topic/344708
Change History (3)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
I don't see how switching to require_once instead of include_once would fix this.
The file which includes the NOOP_Translations class
wp-includes/pomo/translations.phphas always existed and the way this is pulled in hasn't changed between 2.8 and 2.9.The content of the file has though - http://bit.ly/66oWKa
Moving to 3.0 - I can see the argument for using require over include here as the content of the files is needed.