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 'SELECT cscart_profile_images.*, cscart_profile_images_links.*, cscart_profile...' at line 1 (1064)
SELECT cscart_profile_images.*, cscart_profile_images_links.*, cscart_profile_images.image_id AS profile_images_image_id FROM cscart_profile_images_links LEFT JOIN cscart_profile_images ON cscart_profile_images_links.image_id = cscart_profile_images.image_id WHERE 1 = 1 AND cscart_profile_images_links.profile_id = 89 AND cscart_profile_images_links.field_name = 'avatar' ORDER BY cscart_profile_images_links.pair_id;SELECT cscart_profile_images.*, cscart_profile_images_links.*, cscart_profile_images.image_id AS profile_images_image_id FROM cscart_profile_images_links LEFT JOIN cscart_profile_images ON cscart_profile_images_links.detailed_id = cscart_profile_images.image_id WHERE 1 = 1 AND cscart_profile_images_links.profile_id = 89 AND cscart_profile_images_links.field_name = 'avatar' ORDER BY cscart_profile_images_links.pair_id
app/Tygh/Database/Connection.php, line: 1713
| File: | app/Tygh/Database/Connection.php |
| Line: | 1490 |
| Function: | throwError |
| File: | app/Tygh/Database/Connection.php |
| Line: | 700 |
| Function: | execQuery |
| File: | app/Tygh/Database/Connection.php |
| Line: | 333 |
| Function: | query |
| File: | app/functions/fn.database.php |
| Line: | 35 |
| Function: | getArray |
| File: | app/controllers/common/debugger.php |
| Line: | 60 |
| Function: | db_get_array |
| File: | app/functions/fn.control.php |
| Line: | 727 |
| Function: | include |
| File: | app/functions/fn.control.php |
| Line: | 458 |
| Function: | fn_run_controller |
| File: | index.php |
| Line: | 19 |
| Function: | fn_dispatch |