Parentheses _Mariadb 1064 Error

Hi,

I am noticing some SQL errors to which I can not quite relate, perhaps if anyone here has had this same issue ? I am using the UniTheme, V4.6.2 and MariaDB 10.1 and PHP7.0

Database (error)
Error: 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 '))' at line 1 (1064)
Query: SELECT cscart_products.product_id FROM cscart_products WHERE 1 AND (1 AND cscart_products.product_id IN ())

Backtrace››
index.php (fn_dispatch): 25
app/functions/fn.control.php (fn_run_controller): 458
app/functions/fn.control.php (include): 719
app/addons/ab__deal_of_the_day/controllers/frontend/promotions.post.php (db_get_fields): 58
app/functions/fn.database.php (getColumn): 81
app/Tygh/Database/Connection.php (call_user_func_array): 319
app/Tygh/Database/Connection.php (query): 488

It is clearly not interfering with day to day operation but it is still an syntax issue which I am trying to tackle.