This forum is no longer open and is for reading/searching only.
Please use our new MachForm Community Forum instead.
MachForm Community Forums » MachForm 3
SQL error
Started 10 years ago by Lokidog | 2 posts |
-
I have a form that I need help with, it's been fine until lately when the review page is starting to show this, and you cannot proceed to submit:
"SQL: [652] select A.element_id, A.option_id, (select if(B.element_matrix_parent_id=0,A.option, (select C.
option
from ap_element_options C where C.element_id=B.element_matrix_parent_id and C.form_id=A.form_id and C.live=1 and C.option_id=A.option_id)) ) 'option_label' from ap_element_options A left join ap_form_elements B on (A.element_id=B.element_id and A.form_id=B.form Params: 1 Key: Position #0: paramno=0 name=[0] "" is_param=1 param_type=2 Query Failed: SQLSTATE[21000]: Cardinality violation: 1242 Subquery returns more than 1 row."Also I cannot see the entries made on the backend as it just returns this as well. :(
Any ideas?
Posted 10 years ago # -
There seems to be some duplicate records within your "ap_element_options" table. We'll need to check this directly. Can you open support ticket please? We'll assist there.
MachForm Founder
Posted 10 years ago #
Reply
You must log in to post.