Search Results for 'wordpress'
-
Search Results
-
Hi,
We’ve been receiving complaints from our users since last several days.
The users see a “503 Service Unavailable” error after trying to login. The problem doesn’t fix even after the users try to clear browser cache and re-attempt login.Below is the error that keeps getting logged in error console.
Feb 27 19:54:01 192.168.222.215 apache2[5365]: [u1050] [dojo.onpressidium.com] [720f49fd8f26631d] [75.128.103.167] [error] [client 192.168.212.31:57618] AH01071: Got error ‘PHP message: WordPress database error Table ‘db_xyz.g’ doesn’t exist for query SELECT DISTINCT g.id FROM g ORDER BY g.date_created DESC LIMIT 0, 20 made by require(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include(‘/themes/boss-child/functions.php’), is_user_logged_in, wp_get_current_user, wp_get_current_user, wp_set_current_user, do_action(‘set_current_user’), WP_Hook->do_action, WP_Hook->apply_filters, wplrdesy->wplqez7, wplrdesy->wpluibcy, apply_filters(‘memberium_session_filter’), WP_Hook->apply_filters, wpld9_0u1, groups_get_groups, BP_Groups_Group::get, wpdb->get_col, wpdb->print_error\nPHP message: WordPress database error Table ‘db_xyz.g’ doesn’t exist for query SELECT COUNT(DISTINCT g.id) FROM g made by require(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), include(‘/themes/boss-child/functions.php’), is_user_logged_in, wp_get_current_user, wp_get_current_user, wp_set_current_user, do_action(‘set_current_user’), WP_Hook->do_action, WP_Hook->apply_filters, wplrdesy->wplqez7, wplrdesy->wpluibcy, apply_filters(‘memberium_session_filter’), WP_Hook->apply_filters, wpld9_0u1, groups_get_groups, BP_Groups_Group::get, wpdb->get_var, wpdb->print_error\n’
We’ve checked this with Pressidium and Memberium and they are sure that it’s related to Buddypress.
Here’s a breakdown of the error:
This is when it happened
Feb 27 19:54:01 192.168.222.215 apache2[5365]: [u1050] [dojo.onpressidium.com] [720f49fd8f26631d] [75.128.103.167] [error] [client 192.168.212.31:57618] AH01071:
This is the error
Got error ‘PHP message: WordPress database error Table ‘db_xyz.g’ doesn’t exist for query
This is the (SQL) code
SELECT DISTINCT g.id FROM g ORDER BY g.date_created DESC LIMIT 0, 20
This is the order of functions called
made by require(‘wp-load.php’),
require_once(‘wp-config.php’),
require_once(‘wp-settings.php’),
include(‘/themes/boss-child/functions.php’),
is_user_logged_in,
wp_get_current_user,
_wp_get_current_user,
wp_set_current_user,
do_action(‘set_current_user’),
WP_Hook->do_action,
WP_Hook->apply_filters,
wplrdesy->wplqez7,
wplrdesy->wpluibcy,
apply_filters(‘memberium_session_filter’),
WP_Hook->apply_filters,
wpld9_0u1, groups_get_groups,Below is where the error happens. It’s in the BP Groups Group class, in the “get” static method.
BP_Groups_Group::get,
wpdb->get_col,Could you please investigate and provide us a fix for this issue.
Thanks,
MushiHello,
I am having an issue with a site I am currently developing. I am using a WordPress multilingual plugin call Weglot. I am using it to translate the website in french. The issue I am having is when I am on the french version of the site and click on “My Profile” link, it redirects me to the English URL instead of the French one. Whereas when I am on my English profile and I click the french language switcher icon, I can see the french version of the page.
While on the french side, when I hover over the URL it says “URL/fr/members/john_doe” but when clicked it takes me to “URL/members/john_doe”. Any idea why this is happening?
Thanks in advance!
wordpress version is 5.3.2
buddypress version is 5.1.2
Hello, I have a problem with Friend connections… when I send Friend Request it cannot be accepted. on my friends profile says that there is no friend requests. how can i solve that ?Hi,
I’m running BuddyBoss/BuddyPress on WordPress 5.3.2
I’d like to be able to filter my main BuddyPress members page using $_GET, from query variables passed in the URL.
I’ve tried various ideas found on the web and the most up to date/promising way of doing this seems to be using bp_parse_args() via…
add_filter( 'bp_after_has_members_parse_args', 'my_function' );Using this method works well except for the fact that I am unable to access my passed filter variables via $_GET …if I print the site url from within my function it returns wp-admin/ajax.php (or something like it) which I guess is why I can’t access the passed query variables. Any help with this would be greatly appreciated.
Many thanks,
Antony
My code…
function ic_members_filter( $retval ) { global $wpdb; global $ic_filter_members_interest_id; if( $ic_filter_members_interest_id && $ic_filter_members_interest_id>0 ){ $prepared_statement = $wpdb->prepare( "SELECT user_id FROM ic_interests_data WHERE interest_id = %d AND (interest_value = 1 OR interest_value = 3)", $ic_filter_members_interest_id ); $db_custom_ids = $wpdb->get_col( $prepared_statement ); if ( $db_custom_ids ) { //!empty( $db_custom_ids ) // convert the array to a csv string $retval['include'] = implode(",", $db_custom_ids); //$custom_ids_str = 'include=' . implode(",", $custom_ids); } else{ // don't show any records $retval['include'] = array(0); } }else{ // show all records $retval['include'] = ''; } return $retval; } add_filter( 'bp_after_has_members_parse_args', 'ic_members_filter' );WHERE… $ic_filter_members_interest_id is a global that holds the interest_id via $_GET
References…
https://buddypress.trac.wordpress.org/browser/tags/2.2.1/src/bp-members/bp-members-template.php#L461I am using BuddyPress old version and WordPress version 5.3.2.
But, Today, When I to updated BuddyPress Version:5.1.2 it gives me the following an error.Fatal error: Call to undefined function bp_is_user_inactive()
Website Home page: https://wcblogs.com
I am trying to fix these issues but still shows an error.Any suggestion?
Thanks in advance
So following the steps in this post:
I used this code:
add_action( 'bp_email', function( $email_type, $email_obj ) { $email_obj->set_reply_to( "wordpress@mydomain.com", "My Site" ); }, 10, 2 ); add_action( 'bp_email', function( $email_type, $email_obj ) { $email_obj->set_from( "wordpress@mydomain.com", "My Site" ); }, 10, 2 );This partially worked. The signup emails going to the registrant now have the correct From address, but the notifications going to the admin have the WordPress administrator email listed as the From. I believe this is an issue because both the to and from are now a Gmail address, ie. To: myclient@gmail.com and From: myclient@gmail.com, and Gmail is kicking them back as untrusted. How do I get it to change the From email in all cases? Note that I am using the Buddyboss theme, if that makes a difference. Since the above code isn’t checking for the value of $email_type I would have thought it would just work on all of the emails, but the code is also 3 years old so guessing some things may have changed.
Edit: Also, will Buddypress play well with plugins that allow you to send authenticated emails via SMTP or IMAP, such as WP Mail SMTP by WPForms? I feel that might alleviate the issues we are having but it would be good to know if there’s anything special we need to do before going down that road, thanks.
-Michael
Topic: Adding Buddypress rank?
How is Buddypress rank added?
Wordpress:5.3
BuddyPress: 1.0.359Hi,
I’m having a few dozen database error entries in the apache log every day. First i thought the WP Cerber plugin could be the trouble maker. Since this entries are all connected with failed login attempts with wrong user names. Most probably Spambots. But the WP Cerber developer told me that this is a Buddypress issue. See this issue: https://wordpress.org/support/topic/wordpress-database-error-you-have-an-error-in-your-sql-syntax-5/#post-12366843
So i kindly ask for support here.
Such a log looks usually like this. A few attempts from always the same non existing user name before it gets locked by WP Cerber:
WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near ‘WHERE active = 0 AND user_login = ‘AveryZem’ ORDER BY signup_id DESC LIMIT 0, 1′ at line 1 for query SELECT * FROM WHERE active = 0 AND user_login = ‘AveryZem’ ORDER BY signup_id DESC LIMIT 0, 1 made by require(‘wp-blog-header.php’), require_once(‘wp-load.php’), require_once(‘wp-config.php’), require_once(‘wp-settings.php’), do_action(‘init’), WP_Hook->do_action, WP_Hook->apply_filters, {closure}, cerber_wp_login_page, require(‘wp-login.php’), wp_signon, wp_authenticate, apply_filters(‘authenticate’), WP_Hook->apply_filters, bp_core_signup_disable_inactive, BP_Signup::get, referer: https://bforartists.de/bfa-login/
The page is unfortunately already productive. So i cannot turn off addons wildly anymore.
Could you please help me to get rid of this errors please? ????
Kind regards
Arunderan
Hi there, I’m having trouble with getting BP running. This are my stats:
+ WordPress 5.0.8
+ BuddyPress Version 5.1.2
+ Custom Template made by myself from scratch so I have no idea on what WP tags call the BP functions into display
+ I DONT use “the_content()” WP tag on the index because I load my content with the Ajax Load More plugin
+ I DO use “the_content()” WP tag on both -pages- and -single- post viewI would like to use the “members” BP on my current page template, must I do a hierarchical overload so that buddypress pulls a special template but only for the “members” BP page? because I mean, currently all pages pull the WP hierarchy php “page” files, but members dont seem to appear, maybe I’m lacking a special hierarcy BP “page” file so that BP recognizes it and displays the members table?
I would also like to use the BP profile on a “single post” template, like when someone presses a “view profile” link then user gets redirected to the profile page with the activity posts of that person, sort of like in facebook the profile page yo know? do I need to create a special php on the BP hierarchy logic so that it can display the profile (cover image, profile pic, extended profile data, posts-activity) inside the WP single page hierarcy template?
what WP fuction is it that BP uses to display its content? I guess its not “the_content()” right? because I do use that tag but nothing displays…
I hope I can get some support, I’ll make my best to explain myself if I wasnt being clear enough
Hello guys,
First of all I’m new to wordpress and can’t code yet so I use plugins and themes. I’m having trouble after deleting the Ultimate member plugin because now I can’t register users at all (it used to work before). I now just want to add members with the regular buddypress but BP asks me in which page the users are “registering” and that page does not exist I think… How can I make the users register without using any plugins apart from BP (user registration is enabled in Settings > General). I just want the normal registration with BP to work (so I can add the profile) and can’t seem to make it work. I have to make a “registering” page or something? How can I do that without plugins?
Thank you in advance
WP version is 5.3.2, BP version is 5.1.2 and page is http://www.languageslearningclub.com