Database error: Unknown column 'cscart_payments.usergroup_ids' in 'where clause' (1054)
Invalid query: SELECT cscart_payments.payment_id, cscart_payments.a_surcharge, cscart_payments.p_surcharge, cscart_payment_descriptions.* FROM cscart_payments LEFT JOIN cscart_payment_descriptions ON cscart_payments.payment_id = cscart_payment_descriptions.payment_id AND cscart_payment_descriptions.lang_code = 'EN' LEFT JOIN cscart_payment_processors ON cscart_payment_processors.processor_id = cscart_payments.processor_id WHERE 1 AND (cscart_payments.usergroup_ids = '' OR FIND_IN_SET(0, cscart_payments.usergroup_ids) OR FIND_IN_SET(1, cscart_payments.usergroup_ids)) AND cscart_payments.status = 'A' AND (cscart_payment_processors.type != 'C' OR cscart_payments.processor_id = 0) ORDER BY cscart_payments.position
Backtrace:
| File: | /home/dermbas1/public_html/core/fn.database.php |
| Line: | 310 |
| Function: | db_error |
| File: | /home/dermbas1/public_html/core/fn.database.php |
| Line: | 70 |
| Function: | db_query |
| File: | /home/dermbas1/public_html/core/fn.cart.php |
| Line: | 215 |
| Function: | db_get_hash_array |
| File: | /home/dermbas1/public_html/controllers/customer/checkout.php |
| Line: | 916 |
| Function: | fn_get_payment_methods |
| File: | /home/dermbas1/public_html/controllers/customer/checkout.php |
| Line: | 458 |
| Function: | fn_prepare_checkout_payment_methods |
| File: | /home/dermbas1/public_html/core/fn.control.php |
| Line: | 529 |
| Function: | include |
| File: | /home/dermbas1/public_html/core/fn.control.php |
| Line: | 392 |
| Function: | fn_run_controller |
| File: | /home/dermbas1/public_html/index.php |
| Line: | 28 |
| Function: | fn_dispatch |