Title: Plugin cannot be activated
Last modified: August 31, 2016

---

# Plugin cannot be activated

 *  [duynguyen268](https://wordpress.org/support/users/duynguyen268/)
 * (@duynguyen268)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-7/)
 * Hi,
 * I have tried to reinstall this plugin many times but still can’t activate it.
 * The error is:
    Warning: require(/home/rocketwe/public_html/vietsoc.com/wp-content/
   plugins/buddybar-widget/includes/class-buddybar-widget.php): failed to open stream:
   No such file or directory in /home/rocketwe/public_html/vietsoc.com/wp-content/
   plugins/buddybar-widget/buddybar-widget.php on line 53
 * Please help.
    Thank you 🙂 TD
 * [https://wordpress.org/plugins/buddybar-widget/](https://wordpress.org/plugins/buddybar-widget/)

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [willsneon](https://wordpress.org/support/users/willsneon/)
 * (@willsneon)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-7/#post-7114235)
 * Hi all,
 * I have the same problem and like to ask for a fix too.
 * will;
 *  [stitchkingdom](https://wordpress.org/support/users/stitchkingdom/)
 * (@stitchkingdom)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-7/#post-7114279)
 * I’m answering only because I just managed to install this and it appears to have
   some potential over the built-in buddypress widgets…
 * There is a lot wrong with this package and a few ways to go about correcting 
   it, but this may be the easiest if you’re tech savvy enough
 * 1) Create a folder in the plugin’s directory called includes (at the same level
   as assets and classes)
    2) Move class-activator.php class-deactivator.php and
   class-buddybar-widget.php into the includes folder 3) Rename class-activator.
   php to class-buddybar-widget-activator.php and class-deactivator.php to class-
   buddybar-widget-deactivator.php
 * and that should allow you to activate it
 *  [willsneon](https://wordpress.org/support/users/willsneon/)
 * (@willsneon)
 * [10 years, 3 months ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-7/#post-7114354)
 * Thanks stitchkingdom,
 * this did the trick. But I do not feel very well with this “manual” change.
 * I just had a quick look at the widget and you’re right, it seems very promising.
   What else is wrong with the package? Is there a way to let the Dev know about
   your further improvements?
 * will;
 *  [nanettedp](https://wordpress.org/support/users/nanettedp/)
 * (@nanettedp)
 * [10 years ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-7/#post-7114385)
 * Thanks, I had the same fatal error and this sorted it out1

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘Plugin cannot be activated’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/buddybar-widget.svg)
 * [BuddyBar Widget](https://wordpress.org/plugins/buddybar-widget/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/buddybar-widget/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/buddybar-widget/)
 * [Active Topics](https://wordpress.org/support/plugin/buddybar-widget/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/buddybar-widget/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/buddybar-widget/reviews/)

 * 4 replies
 * 4 participants
 * Last reply from: [nanettedp](https://wordpress.org/support/users/nanettedp/)
 * Last activity: [10 years ago](https://wordpress.org/support/topic/plugin-cannot-be-activated-7/#post-7114385)
 * Status: not resolved