Details
-
Type: Bug
-
Status: Done/Fixed
-
Priority: Trivial
-
Resolution: Incomplete
-
Affects Version/s: 4.5, 4.6
-
Fix Version/s: None
-
Component/s: None
-
Labels:None
-
Documentation Required?:None
Description
When submitting a membership payment, we get the traceback below. It is happening because this particular site doesn't have a membership status of the type pending. CiviCRM builds a NOT IN statement based on an array and it expects the status_id corresponding to Pending to be present. If it's not present it generates a statement along the lines of NOT IN (, 6) which throws a sql error.