Class: CRatings
File: /home/c/cj33570/public_html/bitrix/modules/main/classes/mysql/ratings.php
Function: CalcUserBonus
Line: 72
MySQL Query Error: INSERT INTO b_rating_component_results (RATING_ID, MODULE_ID, RATING_TYPE, NAME, COMPLEX_NAME, ENTITY_ID, ENTITY_TYPE_ID, CURRENT_VALUE) SELECT '3' RATING_ID, 'MAIN' MODULE_ID, 'RATING' RATING_TYPE, 'BONUS' NAME, 'USER_MAIN_RATING_BONUS' COMPLEX_NAME, RB.ENTITY_ID as ENTITY_ID, 'USER' ENTITY_TYPE_ID, RB.BONUS*3.3333333333333 CURRENT_VALUE FROM b_rating_user RB LEFT JOIN b_user U ON U.ID = RB.ENTITY_ID AND U.ACTIVE = 'Y' AND U.LAST_LOGIN > DATE_SUB(NOW(), INTERVAL 90 DAY) WHERE RB.RATING_ID = 3 AND U.ID IS NOT NULL [Duplicate entry '2147483647' for key 'PRIMARY']

DB query error.
Please try later.