Ticket #837 (closed defect: fixed)

Opened 4 years ago

Last modified 3 years ago

Unable to load WordPress functions into bbPress

Reported by: da3rX Owned by: mdawaffe
Priority: normal Milestone: 1.0
Component: Integration Version: 0.9
Severity: normal Keywords:
Cc:

Description

I added require_once('path/to/wp-blog-header.php'); in bbPress’ config.php and got this error:

Fatal error: Cannot redeclare class CachedFileReader in bb-includes\streams.php on line 163

Attachments

837.diff Download (848 bytes) - added by mdawaffe 4 years ago.

Change History

  • Owner set to mdawaffe
  • Status changed from new to closed
  • Resolution set to fixed

(In [1362]) don't include l10n stuff if WP is already loaded. Fixes #837 for branches/0.8

  • Status changed from closed to reopened
  • Resolution fixed deleted
  • Milestone changed from 0.9 to 1.0

Still an issue in trunk (though for different reasons).

For 0.9: This patch prevents bbPress from loading its language file.

  • Milestone changed from 1.0 to 0.9

For 0.9: This also seems to break logging in/out. (I have integrated the latest WP 2.5 trunk and bbPress 0.9 branch)

  • Version changed from 1.0-alpha (trunk) to 0.9
  • Milestone changed from 0.9 to 1.0-beta & XML-RPC
  • Status changed from reopened to closed
  • Resolution set to fixed

Combining deep integration issues in #972

  • Milestone 1.0-beta deleted

Milestone 1.0-beta deleted

  • Milestone set to 1.0
Note: See TracTickets for help on using tickets.