Error when deleting comments/media


#1

Hi all,

When deleting a comment from lightbox or deleting a media item, an error occurs as seen from the error_log file.

[18-Dec-2015 23:34:50 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 '' at line 1 for query DELETE FROM `wp_bp_notifications` WHERE  made by require('wp-blog-header.php'), require_once('wp-includes/template-loader.php'), apply_filters('template_include'), call_user_func_array, RTMediaRouter->template_include, RTMediaTemplate->set_template, RTMediaTemplate->check_delete_comments, RTMediaComment->remove, do_action('rtmedia_before_remove_comment'), call_user_func_array, RTMediaCommentNotification->remove_comment_notification, BP_Notifications_Notification::delete, BP_Notifications_Notification::_delete

This is a fresh install of the latest Wordpress, Buddypress, and rtMedia (no other plugins).

Any fix for this?

Thank you


#2