Database Error

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 UNIX_TIMESTAMP(startDate) <= UNIX_TIMESTAMP(now()) AND UNIX_TIMESTAMP(no...' at line 1

SELECT * FROM countdown_discount where product_id = and UNIX_TIMESTAMP(startDate) <= UNIX_TIMESTAMP(now()) AND UNIX_TIMESTAMP(now()) <= UNIX_TIMESTAMP(endDate) and status = 1 order by id asc limit 0, 1

Filename: /home/rh00k03md44z/public_html/new.octopuscodes.com/livedemo/OctopusCodesCountDownShopingCart/libraries/datamapper.php

Line Number: 2612