Support » Plugins » [Plugin: LeagueManager] Error on article posting

  • I’ve installed the LeagueManager on my testing site but I’m getting an error when updating posts in the main blog.

    WordPress database error: [Table 'mature_wpbp.wp_bp_user_blogs_blogmeta' doesn't exist]
    SELECT * FROM wp_bp_user_blogs_blogmeta WHERE blog_id = 1 AND meta_key = 'last_activity'
    WordPress database error: [Table 'mature_wpbp.wp_bp_user_blogs_blogmeta' doesn't exist]
    INSERT INTO wp_bp_user_blogs_blogmeta ( blog_id, meta_key, meta_value ) VALUES ( 1, 'last_activity', '2010-03-31 07:53:07' )
    Warning: Cannot modify header information - headers already sent by (output started at /home/mature/public_html/test/wp/wp-includes/wp-db.php:615) in /home/mature/public_html/test/wp/wp-includes/pluggable.php on line 868

    The post still updates, but this error appears on a page of its own.

    I’ve deactivated all but this and the buddypress plugin, I’m not sure what to do?

    I’m also guessing it must be responsible for the follow error that appears on the frontend

    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 '' at line 1]
    SELECT * FROM wp_users WHERE id=;

    Any suggestions?

Viewing 3 replies - 1 through 3 (of 3 total)
  • Just got bitten by this with my own plugin.

    There is an error in the BuddyPress plugin that is normally hidden. I.e. fails silently, due to the missing tables.

    Both my plugin and leaguemanager call $wpdb->show_errors() in a class constructor. (I guess many other plugins too).

    The error in BuddyPress is then reported as above. The workaround is to comment out any show_errors() calls.

    Hope that helps someone.

    Didn’t realise that I had not replied. Thanks for this, it worked beautifully.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Plugin: LeagueManager] Error on article posting’ is closed to new replies.