A Database Error Occurred

Error Number: 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 ti.sts_cd = 'AC'' at line 1

select si.name,si.company_name,si.url,si.img_uri from t_jrnl_athr_indx ti,s_jrnl_indx si where ti.athr_id = and ti.sts_cd = 'AC'

Filename: models/M_home.php

Line Number: 323