Anyone can help me why this part error ?
Fatal error: Call to a member function bind_param() on a non-object
// insert query
$stmt = $this->conn->prepare("INSERT INTO reports( id, name, category, sub_category, description, status_report, user_design, user_create, time_create, user_update, time_update, attr1, attr2, 'status') values(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, 1)");
$stmt->bind_param("sssssssssssss", $object, $name, $category, $subCat, $desc, $reportStatus, $userDesign, $userCreate, $timeCreate, $userUpdate, $timeUpdate, $attr1, $attr2);
$result = $stmt->execute();
$stmt->close();