Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Critical
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.2.0
-
Fix Version/s: 2.2.0
-
Component/s: CiviMember
-
Labels:None
Description
Trying to update membership data results in the error message below.
This is with 2.2beta2, standalone, german locale.
----------------------------------------------------------
unbehebbarer Fehler
Entschuldigung. Ein nicht behebbarer Fehler ist aufgetreten.
DB Error: syntax error
Datenbank-Errorcode: 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 ')' at line 8, 1064
Zur Anfangsseite zurück.
Error Details:
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -2
[message] => DB Error: syntax error
[mode] => 16
[debug_info] =>
DELETE g
FROM civicrm_group_contact_cache g
INNER JOIN civicrm_contact c ON c.id = g.contact_id
WHERE g.group_id IN (
SELECT id
FROM civicrm_group
WHERE TIMESTAMPDIFF(MINUTE, cache_date, NOW()) >
)
[nativecode=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 ')' at line 8]
[type] => DB_Error
[user_info] =>
DELETE g
FROM civicrm_group_contact_cache g
INNER JOIN civicrm_contact c ON c.id = g.contact_id
WHERE g.group_id IN (
SELECT id
FROM civicrm_group
WHERE TIMESTAMPDIFF(MINUTE, cache_date, NOW()) >
)
[nativecode=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 ')' at line 8]
[to_string] => [db_error: message="DB Error: syntax error" code=-2 mode=callback callback=CRM_Core_Error::handle prefix="" info="
DELETE g
FROM civicrm_group_contact_cache g
INNER JOIN civicrm_contact c ON c.id = g.contact_id
WHERE g.group_id IN (
SELECT id
FROM civicrm_group
WHERE TIMESTAMPDIFF(MINUTE, cache_date, NOW()) >
)
[nativecode=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 ')' at line 8]"]
)