BuddyBoss Home – Web › Support Forums › Themes › BuddyBoss theme › Buddyboss and custom user tables
- This topic has 1 reply, 2 contibutors, and was last updated 9 years, 11 months ago by Alyssa.
Viewing 2 posts - 1 through 2 (of 2 total)
Question
December 25, 2014 at 4:14 pm #34196@arturhartwigHello,
not sure if this error is related to buddyboss but several entries in my logfiles suggest that buddyboss doenst respect custom user tables in its implementation of buddypress related database queries. The query fails because i do not have a site specific usertable. I have obducated my tables but included my code for the illustation of this problem. I think the issue is rather obvious although my errorlog is in german language.
$table_prefix = 'prefix_'; define('CUSTOM_USER_TABLE', 'usertableprefix_users'); define('CUSTOM_USER_META_TABLE', 'usertableprefix_usermeta'); WordPress-Datenbank-Fehler Table 'database.prefix_usermeta' doesn't exist f\xc3\xbcr Abfrage SELECT user_id,meta_value FROM prefix_usermeta WHERE meta_key = 'bp_favorite_activities' AND user_id != 0 AND ( meta_value LIKE "%31%" OR meta_value LIKE "%5%" OR meta_value LIKE "%3%" OR meta_value LIKE "%1%" ) von require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/buddyboss/buddypress.php'), get_template_part, locate_template, load_template, require('/themes/buddyboss/content-buddypress.php'), the_content, apply_filters('the_content'), call_user_func_array, bp_replace_the_content, apply_filters('bp_replace_the_content'), call_user_func_array, BP_Members_Theme_Compat->single_dummy_content, bp_buffer_template_part, bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/home.php'), bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/members/single/activity.php'), bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/activity/activity-loop.php'), bp_has_activities, apply_filters('bp_has_activities'), call_user_func_array, buddyboss_wall_prepare_likes_filter, buddyboss_wall_prepare_user_likes, W3_Db->query, W3_DbCache->query, W3_DbCallUnderlying->query, W3_Db->query, W3_DbProcessor->query, W3_Db->default_query
Answers
December 26, 2014 at 9:02 am #34200@alyssa-buddyboss
AlyssaParticipant@arturhartwig I’m not certain BuddyPress supports custom user tables and custom meta. Do you receive the same error when using the default WordPress theme, 2015?
Viewing 2 posts - 1 through 2 (of 2 total)
- The question ‘Buddyboss and custom user tables’ is closed to new replies.