• Resolved djsteveb

    (@djsteveb)


    I am getting this via debug – is this a buddypress thing or is this rtmedia thing?

    SELECT DISTINCT activity_id
    FROM { wp_ }rt_rtm_activity
    WHERE blog_id!=1	
    
        apply_filters('bp_ajax_querystring')
    
    	Plugin: buddypress 	You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}rt_rtm_activity WHERE blog_id!=1' at line 1 	1064
    SELECT DISTINCT activity_id
    FROM { wp_ }rt_rtm_activity
    WHERE blog_id!=1	
    
    =-=-=-=-=-=-=-=-
    
        apply_filters('bp_after_has_activities_parse_args')
    
    	Plugin: buddypress 	You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}rt_rtm_activity WHERE blog_id!=1' at line 1

    =-=-=-=

    This is a wordpress multi-site.

    any info would be appreciated!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter djsteveb

    (@djsteveb)

    here is the error as logged via error log:
    [10-Oct-2021 04:21:26 UTC] WordPress database error You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '}rt_rtm_activity WHERE blog_id!=1' at line 1 for query SELECT DISTINCT activity_id FROM { wp_ }rt_rtm_activity WHERE blog_id!=1 made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), include('/themes/twentyfourteen/page.php'), get_template_part, locate_template, load_template, require('/themes/twentyfourteen/content-page.php'), the_content, apply_filters('the_content'), WP_Hook->apply_filters, bp_replace_the_content, apply_filters('bp_replace_the_content'), WP_Hook->apply_filters, BP_Groups_Theme_Compat->single_content, bp_buffer_template_part, bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/single/home.php'), bp_groups_front_template_part, bp_get_template_part, bp_locate_template, load_template, require('/plugins/buddypress/bp-templates/bp-legacy/buddypress/groups/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, bp_parse_args, apply_filters('bp_after_has_activities_parse_args'), WP_Hook->apply_filters, RTMediaBuddyPressActivity->filter_activity_with_blog, QM_DB->query

    =-=-=-

    got a bunch of these in there.

    Hello @djsteveb

    What is your MySQL version?

    Have you checked conflicts by disabling the other plugins except for BuddyPress and rtMedia and changing to a default WordPress theme?

    Please check the conflicts first hand. If it doesn’t help, then share your site health info with us.

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘apply filters sql error?’ is closed to new replies.