Tygh\Exceptions\AException

Message

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 'dispatch=sg_solr_products.get_products&lang_code=en&items_per_page=12&page=1&...' at line 1 (1064)

INSERT INTO cscart_logs (`user_id`, `timestamp`, `type`, `action`, `event_type`, `content`, `backtrace`, `company_id`) VALUES (0, 1772196068, 'requests', 'http', 'N', 'a:3:{s:3:"url";s:34:"https://dev.ecartify.com/index.php";s:7:"request";s:215:"'dispatch=sg_solr_products.get_products&lang_code=en&items_per_page=12&page=1&sort_by=product&sort_order=asc&category_ids=181&company_ids%5B0%5D=1&company_ids%5B1%5D=2&company_ids%5B2%5D=5&access_key=test-zaid_core'";s:8:"response";s:5309:"{"status":"success","data":{"products":[{"id":"156","product_id":156,"price":299,"list_price":0,"amount":0,"weight":0,"status":"A","product_code":"F01564IPN2","company_id":1,"category_ids":181,"main_category":181,"average_rating":0,"reviews_count":0,"timestamp":1328644800,"updated_timestamp":1328698458,"product_type":"P","shipping_freight":0,"sales_amount":0,"length":0,"width":0,"height":0,"popularity":0,"min_qty":0,"max_qty":0,"qty_step":0,"free_shipping":"N","attr_18":"114","product_ar":"Extra Bass Headphones \u2013 70mm","full_description_ar":"Get that super bass. A tightly sealed acoustic design combines mega 70mm XB driver units – the world's largest1 – and king-sized cushion earpads to deliver ultra-deep bass.","product":"Extra Bass Headphones \u2013 70mm","product_str":"Extra Bass Headphones \u2013 70mm","_version_":1851154106411909121,"score":1},{"id":"154","product_id":154,"price":399.99,"list_price":0,"amount":0,"weight":0,"status":"A","product_code":"T0154F3MKH","company_id":1,"category_ids":181,"main_category":181,"average_rating":0,"reviews_count":0,"timestamp":1328644800,"updated_timestamp":1328698232,"product_type":"P","shipping_freight":0,"sales_amount":0,"length":0,"width":0,"height":0,"popularity":0,"min_qty":0,"max_qty":0,"qty_step":0,"free_shipping":"N","attr_18":"115","product_ar":"JR900 Wireless Headphones","full_description_ar":"Koss JR900s are the music lover’s answer to true stereo and cordless freedom. Operating on one of the highest power bands available on the market, the Koss JR900 headphone system (consisting of a high quality, battery operated RF transmitter with AC adapter) offers the best in wireless audio technology, allowing you to roam freely over a 70,000-square-foot area. From room to room, inside to outside, even in bright sunlight, you can move to your heart’s content without the need for additional transmitters or worry of signal breakup.","product":"JR900 Wireless Headphones","product_str":"JR900 Wireless Headphones","_version_":1851158136697651200,"score":1},{"id":"155","product_id":155,"price":79.99,"list_price":0,"amount":0,"weight":0,"status":"A","product_code":"N01552LVJT","company_id":1,"category_ids":181,"main_category":181,"average_rating":0,"reviews_count":0,"timestamp":1328644800,"updated_timestamp":1328698318,"product_type":"P","shipping_freight":0,"sales_amount":0,"length":0,"width":0,"height":0,"popularity":0,"min_qty":0,"max_qty":0,"qty_step":0,"free_shipping":"N","attr_18":"115","product_ar":"Porta Pro KTC On-Ear Headphone","full_description_ar":"Koss Porta Pro KTC, the most sophisticated version of the Porta Pro, features a new technological upgrade which brings listeners closer to the music they love. Koss Touch Control (KTC) remote and microphone technology, made for iPhone®, iPad® and iPod®, gives listeners more control in fewer steps. Listeners are now able to stay connected, shuffle song and adjust volume with the flick of a switch.","product":"Porta Pro KTC On-Ear Headphone","product_str":"Porta Pro KTC On-Ear Headphone","_version_":1851185438494031882,"score":1},{"id":"157","product_id":157,"price":499,"list_price":0,"amount":0,"weight":0,"status":"A","product_code":"G0157AX10M","company_id":1,"category_ids":181,"main_category":181,"average_rating":0,"reviews_count":0,"timestamp":1328644800,"updated_timestamp":1328698521,"product_type":"P","shipping_freight":0,"sales_amount":0,"length":0,"width":0,"height":0,"popularity":0,"min_qty":0,"max_qty":0,"qty_step":0,"free_shipping":"N","attr_18":"114","product_ar":"Studio Monitor Headphones","full_description_ar":"Love at first listen. Striking yet comfortable studio monitor headphones with neodymium magnets deliver sounds even the most discerning of audiophiles will flip for.","product":"Studio Monitor Headphones","product_str":"Studio Monitor Headphones","_version_":1851185564973268992,"score":1},{"id":"153","product_id":153,"price":49.99,"list_price":0,"amount":0,"weight":0,"status":"A","product_code":"Q0153SHXQ0","company_id":1,"category_ids":181,"main_category":181,"average_rating":0,"reviews_count":0,"timestamp":1328644800,"updated_timestamp":1328698232,"product_type":"P","shipping_freight":0,"sales_amount":0,"length":0,"width":0,"height":0,"popularity":0,"min_qty":0,"max_qty":0,"qty_step":0,"free_shipping":"N","attr_18":"115","product_ar":"UR55 Full Size Headphones","full_description_ar":"Slipping into a set of lightweight, professional headphones like the Koss UR55 studio headphones is like listening to a live musical performance at a spacious outdoor venue. These high velocity headphones feature open-screen ear cups that deliver great sound, lasting comfort, and impressive air circulation. Designed to deliver equal parts sound quality and comfort, Koss UR55s bump with massive bass while their lightweight foam ear cushions are enough to convince you it’s just you and the music. A padded sling with a sturdy metal headband reinforcement provides extreme durability, while the swivel ear cups encourage maximum flexibility, single-ear listening and convenient storage.","product":"UR55 Full Size Headphones","product_str":"UR55 Full Size Headphones","_version_":1851185688696848384,"score":1}],"search":{"numFound":5,"start":0,"maxScore":1,"numFoundExact":true}}}";}', '', 0)

Error at

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

Backtrace

File:app/Tygh/Database/Connection.php
Line:1490
Function:throwError
File:app/Tygh/Database/Connection.php
Line:700
Function:execQuery
File:app/functions/fn.database.php
Line:138
Function:query
File:app/controllers/common/debugger.php
Line:63
Function:db_query
File:app/functions/fn.control.php
Line:729
Function:include
File:app/functions/fn.control.php
Line:460
Function:fn_run_controller
File:index.php
Line:19
Function:fn_dispatch