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 netting_images.*, netting_images_links.*, netting_common_descriptions....' at line 1 (1064)
SELECT netting_images.*, netting_images_links.*, netting_common_descriptions.description AS alt, netting_images.image_id AS images_image_id FROM netting_images_links LEFT JOIN netting_images ON netting_images_links.image_id = netting_images.image_id LEFT JOIN netting_common_descriptions ON netting_common_descriptions.object_id = netting_images.image_id AND netting_common_descriptions.object_holder = 'images' AND netting_common_descriptions.lang_code = 'en' WHERE netting_images_links.object_type = 'category' AND netting_images_links.type = 'M' AND netting_images_links.object_id IN (312, 314, 315, 316, 317, 318, 319, 394, 399, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330) ORDER BY netting_images_links.position, netting_images_links.pair_id;SELECT netting_images.*, netting_images_links.*, netting_common_descriptions.description AS alt, netting_images.image_id AS images_image_id FROM netting_images_links LEFT JOIN netting_images ON netting_images_links.detailed_id = netting_images.image_id LEFT JOIN netting_common_descriptions ON netting_common_descriptions.object_id = netting_images.image_id AND netting_common_descriptions.object_holder = 'images' AND netting_common_descriptions.lang_code = 'en' WHERE netting_images_links.object_type = 'category' AND netting_images_links.type = 'M' AND netting_images_links.object_id IN (312, 314, 315, 316, 317, 318, 319, 394, 399, 320, 321, 322, 323, 324, 325, 326, 327, 328, 329, 330) ORDER BY netting_images_links.position, netting_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 |