You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'SELECT ushop_images.*, ushop_images_links.*, ushop_common_descriptions.descripti' at line 1 (1064)
SELECT ushop_images.*, ushop_images_links.*, ushop_common_descriptions.description AS alt, ushop_images.image_id AS images_image_id FROM ushop_images_links LEFT JOIN ushop_images ON ushop_images_links.image_id = ushop_images.image_id LEFT JOIN ushop_common_descriptions ON ushop_common_descriptions.object_id = ushop_images.image_id AND ushop_common_descriptions.object_holder = 'images' AND ushop_common_descriptions.lang_code = 'es' WHERE ushop_images_links.object_type = 'category' AND ushop_images_links.type = 'M' AND ushop_images_links.object_id IN (712, 748, 749, 694, 747, 750, 751, 752, 362, 753, 754, 713, 714, 715, 716, 717, 368, 718, 719, 720, 755, 756, 721, 722, 738, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737) ORDER BY ushop_images_links.position, ushop_images_links.pair_id;SELECT ushop_images.*, ushop_images_links.*, ushop_common_descriptions.description AS alt, ushop_images.image_id AS images_image_id FROM ushop_images_links LEFT JOIN ushop_images ON ushop_images_links.detailed_id = ushop_images.image_id LEFT JOIN ushop_common_descriptions ON ushop_common_descriptions.object_id = ushop_images.image_id AND ushop_common_descriptions.object_holder = 'images' AND ushop_common_descriptions.lang_code = 'es' WHERE ushop_images_links.object_type = 'category' AND ushop_images_links.type = 'M' AND ushop_images_links.object_id IN (712, 748, 749, 694, 747, 750, 751, 752, 362, 753, 754, 713, 714, 715, 716, 717, 368, 718, 719, 720, 755, 756, 721, 722, 738, 723, 724, 725, 726, 727, 728, 729, 730, 731, 732, 733, 734, 735, 736, 737) ORDER BY ushop_images_links.position, ushop_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: | 728 |
| Function: | include |
| File: | app/functions/fn.control.php |
| Line: | 459 |
| Function: | fn_run_controller |
| File: | index.php |
| Line: | 19 |
| Function: | fn_dispatch |