You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'AND cscart_bm_blocks_descriptions.name = "Register"' at line 6 (1064)
SELECT cscart_bm_blocks.block_id, cscart_bm_blocks_content.content FROM cscart_bm_blocks JOIN cscart_bm_blocks_content ON cscart_bm_blocks_content.block_id = cscart_bm_blocks.block_id JOIN cscart_bm_blocks_descriptions ON cscart_bm_blocks_descriptions.block_id = cscart_bm_blocks.block_id WHERE cscart_bm_blocks.company_id = AND cscart_bm_blocks_descriptions.name = "Register"
app/Tygh/Database/Connection.php, line: 1540
File: | app/Tygh/Database/Connection.php |
Line: | 690 |
Function: | throwError |
File: | app/Tygh/Database/Connection.php |
Line: | 388 |
Function: | query |
File: | app/functions/fn.database.php |
Line: | 60 |
Function: | getRow |
File: | app/addons/affiliate_merchant_product/controllers/frontend/companies.post.php |
Line: | 230 |
Function: | db_get_row |
File: | app/functions/fn.control.php |
Line: | 719 |
Function: | include |
File: | app/functions/fn.control.php |
Line: | 458 |
Function: | fn_run_controller |
File: | index.php |
Line: | 25 |
Function: | fn_dispatch |