Database error: Invalid SQL: SELECT COUNT(*) FROM rentals WHERE status='1' AND (location = 1002 OR sub_location = 1002 OR sub_location2 = 1002 OR sub_location3 = 1002 OR sub_location4 = 1002)
MySQL Error: 1194 (Table 'rentals' is marked as crashed and should be repaired)
Session halted.