Daily Tip: Getting a Blank Fatal Error When Activating BuddyPress? Try This Quick Hack.

April 12, 2010  | 
6 Comments

I ran into this issue the other day. After upgrading BuddyPress files, I received this notice when trying to activate BuddyPress again: “Plugin could not be activated because it triggered a fatal error” Sounds scary, doesn’t it? I’m not entirely sure what’s causing it. Maybe it’s running into the memory limit? At any rate, after searching the forums, I found this hack that fixed it for me:

1. Create a new file, e.g. bp-loader-fix.php
2. Move the contents of bp-loader.php over except the first comment block
3. Make sure the new file has starting and ending tags, same with bp-loader.php
4. In bp-loader.php, add the following as the last (and now only) php statement

require_once('bp-loader-fix.php');

Source: BuddyPress Forums

Featured Plugin - Easily integrate your WordPress site with Facebook

Would you like to add Facebook comments, registration, 'Like' buttons and autoposting to your WP site? Well, The Ultimate Facebook plugin has got that all covered!
Find out more

Featured Plugin - Open an Online Store with MarketPress

Out of all the WordPress ecommerce plugins available, this has got to be the winner - easy to configure, powerful functionality, multiple gateways and more. A simply brilliant plugin!
Find out more

Featured Plugin - Every great SEO tweak you need, in one snazzy bundle

Fully integrated with the SEOMoz API, complete with automatic links, sitemaps and SEO optimization of your WordPress setup - this is the only plugin you need to help you rank your site number 1 on Google - nothing else compares.
Find out more

Featured Plugin - Start your own Quora / StackOverflow / Yahoo Q&A site

It's now incredibly easy to start your own Q&A site using nothing more than WordPress - The Q&A plugin simply and brilliantly transforms any site, or page, into a perfect support or Q&A environment.
Find out more

Featured Plugin - Turn any WordPress page into a fully featured wiki!

To get a wiki up and running you used to need to install Mediawiki and toil away for days configuring it... not any more! This plugin gives you *all* the functionality you want from a wiki, in WordPress!!!
Find out more

Featured Plugin - Send beautiful html email newsletters, from WordPress!

Now there's no need to pay for a third party service to sign up, manage and send beautiful email newsletters to your subscriber base - this plugin has got the lot.
Find out more

Featured Plugin - Host sites, get paid, just like WordPress.com

If you've ever wondered how you could offer a paid site management and hosting service, then this is the plugin for you. Offer a freemium or paid service, for any niche you like, it's powered Edublogs.org to success already!
Find out more

Featured Plugin - Start Your Own Powerful Membership Site

If you're thinking about starting a paid, or just private, membership site then this is truly the plugin you've been looking for. Easy to use, massively configurable and ready to go out of the box!
Find out more

Featured Plugin - WordPress + Google Maps = Perfect

Simply insert google maps into posts, sidebars and pages - show directions, streetview, provide image overlays and do it all from a simple button and comprehensive widget.
Find out more

6 Responses to Daily Tip: Getting a Blank Fatal Error When Activating BuddyPress? Try This Quick Hack.

  1. Daily Tip: Getting a Blank Fatal Error When Activating BuddyPress? Try This Quick Hack

    On our site I encountered this error and discovered that changing the order in which the following 3 plugin were activated would either trigger the error or avoid it.
    This activation sequence seemed to avoid the error.
    1) BuddyPress
    2) BuddyPress Calendar
    3) BuddyPress Email

    For whatever its worth,
    Phil D

  2. Sarah,

    I get the “The plugin does not have a valid header.”

  3. Amit – That’s a totally different error, so this hack probably wouldn’t work for you. Maybe try the BuddyPress forums?

  4. Sorry, I should have been more specific. Actually, I get the error after following the steps for the hack.

  5. I’m able to install the BP plugin with the hack but unable to activate it.

  6. this doesn’t work for me.
    I did the hack still get fatal error.
    I had it up and running earlier then messed it all up, dropped my database and wiped the web server, reinstalled word press and buddy press get fatal error when trying to activate buddypress.
    Please help. I know this is an old thread but I need help.

Click on a tab to select how you'd like to leave your comment

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting