SQLSTATE[42000]: Syntax error or access violation: 1064 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 pr.productPrice BETWEEN (58.45-58.45*0.25) AND (58.45*0.25+58.45) AND ' at line 11
#0 /var/www/html/libs/DBManager/DB.class.php(111): PDO->query('\n\t\t\tSELECT\n\t\t\t ...') #1 /var/www/html/libs/DBManager/DB.class.php(224): DB::Query('\n\t\t\tSELECT\n\t\t\t ...') #2 /var/www/html/application/models/StoreModel.class.php(2120): DB::QueryToArray('\n\t\t\tSELECT\n\t\t\t ...') #3 /var/www/html/application/controllers/front/StoreController.class.php(472): StoreModel->GetSameProducts(NULL, '58.45', '22380') #4 /var/www/html/application/controllers/front/StoreController.class.php(102): StoreController->ShowProduct(Array) #5 /var/www/html/core/Application.class.php(154): StoreController->Index(Array) #6 /var/www/html/core/Application.class.php(94): Application->Execute() #7 /var/www/html/application/CMSApplication.class.php(37): Application->Run() #8 /var/www/html/index.php(85): CMSApplication->Run() #9 {main}