A Database Error Occurred

Error Number: 42000/1064

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 `admin_num`='2'' at line 1

select * from witness where `nation`='TW' and ((`selltime1`<='2024-03-19' or `selltime1`='0000-00-00' or `selltime1` is null) and (`selltime2`>'2024-03-19' or `selltime2`='0000-00-00' or `selltime2` is null)) and `kind` in () and `admin_num`='2'

Filename: C:/xampp/htdocs/merrybeauty/application/models/sysAdmin/core_model.php

Line Number: 85