Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: [Resolved] BuddyPress plugin – missing text and corrupt database?

@henrywright

Moderator

@micasuh the .mo file is most likely being loaded from your theme’s functions.php file. Alternatively, it may be loaded from a plugin. Or, maybe even bp-custom.php (if you have one of those).

Look for something such as the following and try removing it to see if it resolves the issue:

if ( file_exists( WP_LANG_DIR . '/buddypress-en_US.mo' ) ) {
    load_textdomain( 'buddypress', WP_LANG_DIR . '/buddypress-en_US.mo' );
}

If it doesn’t resolve the problem then we know your translation file is OK.

If you still believe the issue is a virus in your database then you could try rolling back. Do you keep database backups? But, to be honest, I’m more inclined to think this is occurring as a result of some rogue theme or plugin code.

Skip to toolbar