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 '' at line 1]SELECT * FROM mv_ebp_payments WHERE event_id =
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 'AND status = 'Completed'' at line 1]SELECT SUM(amount) as samt FROM mv_ebp_payments WHERE event_id = AND status = 'Completed'