Can't execute query
SELECT prod_id FROM ifg_comp_products WHERE prod_comp_id= AND prod_published=1 ORDER BY RAND() LIMIT 0,1
MySQL 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 'AND prod_published=1 ORDER BY RAND() LIMIT 0,1' at line 1
This script cannot continue, terminating.