Don't pass $wpdb to ReportPost constructor, just access it as a global
from within the class as required.