#4290 closed defect (bug) (no action required)
Plugin could not be activated because it triggered a fatal error
Reported by: | qrahaman | Owned by: | |
---|---|---|---|
Milestone: | Priority: | normal | |
Severity: | normal | Version: | 1.6 |
Component: | Core | Keywords: | reporter-feedback |
Cc: |
Description
I had to troubleshoot because the Widget sidebar in Appearance>Widgets was missing. Isolated this to the Buddystream 2.13 plugin. However, I deactivated all of the plugins to identify it.
I then tried to reactivate BuddyPress and got the following (no other plugins are active):
Notice: Constant BP_DEFAULT_COMPONENT already defined in /home/thedancersportfolio/websites/thedancersportfolio.com/htdocs/wp-content/plugins/bp-custom.php on line 16 Notice: Constant BP_ACTIVITY_SLUG already defined in /home/thedancersportfolio/websites/thedancersportfolio.com/htdocs/wp-content/plugins/bp-custom.php on line 20 Warning: require(/home/thedancersportfolio/websites/thedancersportfolio.com/htdocs/wp-content/plugins/buddypressbp-core/bp-core-actions.php): failed to open stream: No such file or directory in /home/thedancersportfolio/websites/thedancersportfolio.com/htdocs/wp-content/plugins/buddypress/bp-loader.php on line 409 Fatal error: require(): Failed opening required '/home/thedancersportfolio/websites/thedancersportfolio.com/htdocs/wp-content/plugins/buddypressbp-core/bp-core-actions.php' (include_path='.:/usr/share/php:/usr/share/pear') in /home/thedancersportfolio/websites/thedancersportfolio.com/htdocs/wp-content/plugins/buddypress/bp-loader.php on line 409
Wordpress 3.4
Change History (5)
#2
@
12 years ago
Yes, it looks like you have defined BP_PLUGIN_DIR in your bp-custom.php or wp-config.php, and left out the trailing slash.
Is this a regression? In any case, we should probably add a trailingslashit() to bp-loader.php:328, where $this->plugin_dir is defined. Objections?
What's in your bp-custom.php -- can you show us on pastebin.com please?