• Mark

    (@markschafer)


    Buddypress 1.1.1 – I’m getting the following pair of errors in my php error log when Groupblog is activated. No error message on the frontend and the plugin does seem to work properly.

    [09-Oct-2009 09:24:13] 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 ‘WHERE group_id = 16’ at line 1 for query SELECT * FROM WHERE group_id = 16 made by require, wp, WP->main, do_action_ref_array, call_user_func_array, bp_groupblog_setup_nav, bp_groupblog_is_blog_enabled, BP_Groupblog->bp_groupblog, BP_Groupblog->populate

    [09-Oct-2009 09:24:14] 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 ‘WHERE group_id = 16’ at line 1 for query SELECT * FROM WHERE group_id = 16 made by require, require_once, do_action, call_user_func_array, bp_core_do_catch_uri, load_template, require_once, do_action, call_user_func_array, groupblog_screen_blog_latest, load_template, require_once, bp_groupblog_is_blog_enabled, BP_Groupblog->bp_groupblog, BP_Groupblog->populate

    http://wordpress.org/extend/plugins/bp-groupblog/

Viewing 3 replies - 1 through 3 (of 3 total)
  • Same error here in the logs.
    MySQL version = 5.1.39.

    ‘FROM WHERE’?
    According line 40 to bp-groupblog-classes.php it should be:
    FROM {$bp->groupblog->table_name} WHERE

    Thread Starter Mark

    (@markschafer)

    @ftr – Thanks for the feedback. I’m not familiar enough with php to know whether you are just sharing info or suggesting a fix. I went to change line 40 but found it is just as you posted. Should line 40 be changed? If yes, how exactly? Thanks!

    This is fixed now. This plugin does not create any tables, so this code was from previous development.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘[Plugin: BuddyPress Groupblog] php error log – database error’ is closed to new replies.