Tygh\Exceptions\AException

Message

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 cscart_images.*, cscart_images_links.*, cscart_common_descriptions.descri' at line 1 (1064)

SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.image_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (59777, 59704, 59778, 59779, 59780, 61614, 59741, 59911, 59890, 59882, 59898, 59934, 59922, 59842, 59935, 59870, 59847, 59920, 59906, 59888, 59834, 59861, 59866, 59857, 59832, 59932, 59883, 59891, 59899, 59742, 59843, 59871, 59912, 59907, 59848, 59835, 59923, 59867, 59889, 59862, 59936, 59858, 59833, 59933, 59921, 59900, 59892, 59743, 59844, 59913, 59872, 59836, 59884, 59849, 59924, 59868, 59908, 59863, 59937, 59859, 59901, 59744, 59873, 59893, 59914, 59850, 59925, 59885, 59845, 59909, 59837, 59864, 59869, 59938, 59860, 59745, 59902, 59874, 59926, 59915, 59851, 59894, 59886, 59846, 59910, 59838, 59865, 59746, 59903, 59875, 59927, 59916, 59852, 59895, 59887, 59939, 59747, 59876, 59853, 59928, 59917, 59904, 59896, 59940, 59748, 59877, 59929, 59854, 59918, 59905, 59897, 59941, 59749, 59878, 59930, 59855, 59919, 59750, 59879, 59856, 59931, 59751, 59880, 59752, 59881, 59753, 59754, 59755, 59756, 59757, 59758, 59759, 59760, 59763, 38299) ORDER BY cscart_images_links.position, cscart_images_links.pair_id;SELECT cscart_images.*, cscart_images_links.*, cscart_common_descriptions.description AS alt, cscart_images.image_id AS images_image_id FROM cscart_images_links LEFT JOIN cscart_images ON cscart_images_links.detailed_id = cscart_images.image_id LEFT JOIN cscart_common_descriptions ON cscart_common_descriptions.object_id = cscart_images.image_id AND cscart_common_descriptions.object_holder = 'images' AND cscart_common_descriptions.lang_code = 'en' WHERE cscart_images_links.object_type = 'feature_variant' AND cscart_images_links.type = 'V' AND cscart_images_links.object_id IN (59777, 59704, 59778, 59779, 59780, 61614, 59741, 59911, 59890, 59882, 59898, 59934, 59922, 59842, 59935, 59870, 59847, 59920, 59906, 59888, 59834, 59861, 59866, 59857, 59832, 59932, 59883, 59891, 59899, 59742, 59843, 59871, 59912, 59907, 59848, 59835, 59923, 59867, 59889, 59862, 59936, 59858, 59833, 59933, 59921, 59900, 59892, 59743, 59844, 59913, 59872, 59836, 59884, 59849, 59924, 59868, 59908, 59863, 59937, 59859, 59901, 59744, 59873, 59893, 59914, 59850, 59925, 59885, 59845, 59909, 59837, 59864, 59869, 59938, 59860, 59745, 59902, 59874, 59926, 59915, 59851, 59894, 59886, 59846, 59910, 59838, 59865, 59746, 59903, 59875, 59927, 59916, 59852, 59895, 59887, 59939, 59747, 59876, 59853, 59928, 59917, 59904, 59896, 59940, 59748, 59877, 59929, 59854, 59918, 59905, 59897, 59941, 59749, 59878, 59930, 59855, 59919, 59750, 59879, 59856, 59931, 59751, 59880, 59752, 59881, 59753, 59754, 59755, 59756, 59757, 59758, 59759, 59760, 59763, 38299) ORDER BY cscart_images_links.position, cscart_images_links.pair_id

Error at

app/Tygh/Database/Connection.php, line: 1712

Backtrace

File:app/Tygh/Database/Connection.php
Line:1489
Function:throwError
File:app/Tygh/Database/Connection.php
Line:699
Function:execQuery
File:app/Tygh/Database/Connection.php
Line:332
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:722
Function:include
File:app/functions/fn.control.php
Line:458
Function:fn_run_controller
File:index.php
Line:19
Function:fn_dispatch