• I clicked to install a theme and some error message came up. I clicked on install theme again to find another one and this came up:

    Warning: require_once(BP_PLUGIN_DIR/bp-themes/bp-default/_inc/ajax.php) [function.require-once]: failed to open stream: No such file or directory in /home/content/00/7122600/html/wp-content/themes/sense-and-sensibility-bp/bp/bp-functions.php on line 4

    Fatal error: require_once() [function.require]: Failed opening required ‘BP_PLUGIN_DIR/bp-themes/bp-default/_inc/ajax.php’ (include_path=’.:/usr/local/php5/lib/php’) in /home/content/00/7122600/html/wp-content/themes/sense-and-sensibility-bp/bp/bp-functions.php on line 4

    Now when i go to my site this is all that comes up. I have no idea whats going on or what to do.

Viewing 6 replies - 1 through 6 (of 6 total)
  • Purab

    (@wordpressapi)

    it tries to include the php installation path in linux. May be you need to consult with wordpress and PHP developer.

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    Ignore wpapi…

    Your theme is making calls to BuddyPress (hence the BP_PLUGIN_DIR reference). Do you have that installed?

    (wpapi, I deleted your email address – please don’t post that here, it comes across as advertising, which isn’t permitted)

    Thread Starter tyranasazi

    (@tyranasazi)

    Um, not that I know of, so no I don’t think so.

    Hi, I’m having this same issue. This site relies on BP. I updated without issues on my local copy and on my dev server without issues. When I updated the live site I got the above error. Appears to be hosting issue, the host is siteground. I know that contacting them would be a good answer but I’d prefer not to wait for that if someone has some ideas.

    Thx

    John

    Okay, so I figured out the solution and it was an easy one. From what I can tell, during a plugin update the plugin is deactivated then reactivated as the last step. The update went through fine on the live site but threw the error above before reactivating the plugin. Since the required file resides in the buddypress plugin the above error will appear until BuddyPress is reactivated.

    Here is what you do:
    1) Comment out the offending code in your theme (ususally in functions.php but the error message will tell you).
    2) FTP the file with the commented out offending code to the site and you should be able to access wp-admin.
    3) Go in and activate BuddyPress as the new version should be fully loaded and working fine.
    4) Uncomment the code that you commented out in step 1
    5) FTP the file back to the site and everything should be working fine with the new BuddyPress.

    This happened to me with a custom buddyPress theme, I did not use the default BP theme as a parent theme.

    Hope this allows somebody to avoid the stress I went through today!

    Moderator Ipstenu (Mika Epstein)

    (@ipstenu)

    ?????? Advisor and Activist

    tyranasazi – You’re using a BuddyPress theme on a non-BuddyPress site. Can’t do that ?? sense-and-sensibility-bp is NOT for use on Non-BuddyPress sites.

    iLightning – Yeah, BuddyPress can get tetchy. There’s a lot weird with activating plugins in order.

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Fatal error: require_once’ is closed to new replies.