An exception was thrown
Exception code : 0
Exception message : You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'AND status=1 ORDER BY rand() LIMIT 0, 2' at line 6
SQL Query:
SELECT
*
FROM
product

WHERE idCat=''
AND idPro<>'90'
AND price > 0
AND price <=
AND status=1

ORDER BY rand()
LIMIT
0, 2
Stack Trace
#0 /www/webvol3/cw/463hy3j03w9wguu/sejari.co.rs/public_html/lib/Db.php(95): DPLS_Db->Execute('SELECT * FROM p...')
#1 /www/webvol3/cw/463hy3j03w9wguu/sejari.co.rs/public_html/application/models/Products.php(404): DPLS_Db->getAssoc('SELECT * FROM p...')
#2 /www/webvol3/cw/463hy3j03w9wguu/sejari.co.rs/public_html/application/controllers/proizvodi/proizvodi.php(31): Products->sameGroupProducts('90')
#3 /www/webvol3/cw/463hy3j03w9wguu/sejari.co.rs/public_html/lib/Controller.php(57): proizvodi->detaljno()
#4 /www/webvol3/cw/463hy3j03w9wguu/sejari.co.rs/public_html/lib/FrontController.php(47): DPLS_Controller->execute(Object,...)
#5 /www/webvol3/cw/463hy3j03w9wguu/sejari.co.rs/public_html/index.php(8): DPLS_FrontController->execute(Object)
#6 {main}